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.

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-4-2

0 个投票

y all values are inf

2 个评论

Update: See the exp(within data elements), it gives exponential results very large numbers, going to infinity.
Thanks Sir ! I got it.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by