Can't plot function

1 visualización (últimos 30 días)
Filip Cupan
Filip Cupan el 7 de Dic. de 2019
Respondida: Stephan el 7 de Dic. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by