Can't plot function

2 visualizzazioni (ultimi 30 giorni)
Filip Cupan
Filip Cupan il 7 Dic 2019
Risposto: Stephan il 7 Dic 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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by