www.omatrix.com





:: O-Matrix ::
> Overview
> Examples
> Performance
> Analysis Functions
> Data Visualization
> The O-Matrix Language
> Data Manipulation/IO
> Application Development
> Using Matlab m-files




BESSEL.OMS

Script File:
# Description:
# Plots the Jn and Yn Bessel functions for n = 0, 1, and 2.
#
clear
# grid of values between 0 and 10
x = seq(100) / 10.
# title for the plot
gtitle("J and Y Bessel Functions")
# loop over the value of n 
for n = 0 to 2 begin
	# plot the Jn Bessel function
	gplot(x, besselj(n, x))
	# plot the Yn Bessel function
	gplot(x, bessely(n, x))
end
# scale the y axis
gyaxis("linear", -3, 1, 4, 5)
	  

Output:


Company |  Products |  Showcase |  Support |  Ordering
Copyright© 1994-2009 Harmonic Software Inc. - All rights reserved.