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