why I am not getting the plot

1 view (last 30 days)
vipesh singh
vipesh singh on 2 Apr 2021
Edited: darova on 4 Apr 2021
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.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 2 Apr 2021
y all values are inf
  2 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 2 Apr 2021
Edited: KALYAN ACHARJYA on 2 Apr 2021
Update: See the exp(within data elements), it gives exponential results very large numbers, going to infinity.
vipesh singh
vipesh singh on 4 Apr 2021
Thanks Sir ! I got it.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!