why I am not getting the plot

Hi All,
I want to plot y=f(x) with the following matlab code
close all
a=7.1061*10^-4;
b=.0794;
r=.0128;
L=1;
x = 1:0.001:50;
y=exp(exp((x.^(-r)-b)/a));
plot(x,y,'o')
But i m not getting plot plz help me in this regard.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 2 de Abr. de 2021

0 votos

y all values are inf

2 comentarios

KALYAN ACHARJYA
KALYAN ACHARJYA el 2 de Abr. de 2021
Editada: KALYAN ACHARJYA el 2 de Abr. de 2021
Update: See the exp(within data elements), it gives exponential results very large numbers, going to infinity.
vipesh singh
vipesh singh el 4 de Abr. de 2021
Thanks Sir ! I got it.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 2 de Abr. de 2021

Editada:

el 4 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by