Can't plot function

8 Ansichten (letzte 30 Tage)
Filip Cupan
Filip Cupan am 7 Dez. 2019
Beantwortet: CHANDRA BABU GUTTIKONDA am 5 Dez. 2025 um 10:47
>> 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.

Akzeptierte Antwort

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

Weitere Antworten (1)

CHANDRA BABU GUTTIKONDA
CHANDRA BABU GUTTIKONDA am 5 Dez. 2025 um 10:47
x = linspace(0,10);
y = sqrt(1+x.^2)./sqrt(x.^4-x.^2+1);
plot(x,y);

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by