MATLAB Answers

Can't plot function

2 views (last 30 days)
Filip Cupan
Filip Cupan on 7 Dec 2019
Answered: Stephan on 7 Dec 2019
>> 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.

  0 Comments

Sign in to comment.

Accepted Answer

Stephan
Stephan on 7 Dec 2019
x = linspace(0,10);
y = sqrt(1+x.^2)./sqrt(x.^4-x.^2+1);
plot(x,y)

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags


Translated by