It's good to see that the latest version of Freemat Portable actually runs on my computer now....with the prev. versions all I got was the splash screen and then nothin'
anyhow I was testing out simple 2-D plots of functions of x over a specified range of values for x and the plots I was getting seemed line-drawn instead of curves (I was testing trig function graphs)....then I discovered from the help section that to get a curve instead of line segments being drawn between every point of inflection you first have to define your range of values for x as a linspace....so to get a plot of the sine wave from values of x ranging from 0 to 2*pi you need 2 commands:
x=linspace(0,2*pi);plot(x,sin(x))
 
      
 Visit the Community page
 Visit the Community page Join our forums
 Join our forums Subscribe to our email newsletter
 Subscribe to our email newsletter Subscribe with RSS
 Subscribe with RSS Follow us on BlueSky
 Follow us on BlueSky Follow us on Facebook
 Follow us on Facebook Follow us on LinkedIn
 Follow us on LinkedIn Follow us on Mastodon
 Follow us on Mastodon
But if you do:
x=linspace(0,2*pi,10);plot(x,sin(x));
It does not look so good anymore. By default, linspace uses 100 points.
Glad to see that's working for you now.
A good start is reading the FreeMat Primer.