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.

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.
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

Products

Tags

Asked:

on 2 Apr 2021

Edited:

on 4 Apr 2021

Community Treasure Hunt

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

Start Hunting!