
This post was updated on .
Hi, I am trying to plot the above function.
My code is:
x=0:0.05:5;
f=@(x) (x.*x1)/(x.*x+1);
y=f(x)
%Here it prints just one value of y and that's the problem!!!
plot(x,y,'r')
The next is the same but with simpler function and it works
f=@(x) x.*x;
y=f(x)
%Here it works fine!!!
plot(x,y,'r')
So, I think it is a bug or something
(version=3.8.2 on debian)
