why I am not getting the plot

1 回表示 (過去 30 日間)
vipesh singh
vipesh singh 2021 年 4 月 2 日
編集済み: darova 2021 年 4 月 4 日
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 日
y all values are inf
  2 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2021 年 4 月 2 日
編集済み: KALYAN ACHARJYA 2021 年 4 月 2 日
Update: See the exp(within data elements), it gives exponential results very large numbers, going to infinity.
vipesh singh
vipesh singh 2021 年 4 月 4 日
Thanks Sir ! I got it.

サインインしてコメントする。

カテゴリ

Help Center および File Exchange2-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