MATLAB: Can’t plot function

plot

>> x = linspace(0,10);
>> y = sqrt(1+x.^2)/sqrt(x.^4-x.^2+1);
>> plot(x,y)
I am new to Mathlab. When I try to plot this function y, it gives me empty figure without graph.

Best Answer

x = linspace(0,10);
y = sqrt(1+x.^2)./sqrt(x.^4-x.^2+1);
plot(x,y)
Related Question