Not able to use plot function

1 回表示 (過去 30 日間)
Anshuman S
Anshuman S 2019 年 6 月 29 日
編集済み: Stephen23 2019 年 6 月 29 日
Not able to get anything on plot
t = linspace(0,20);
y10 = -(1.0*(0.013586877477623817727984981165799*exp(- 0.11152477647061971830985915492958*t - 1.0812489766209314019540910922238) + 0.002))/(exp(- 0.11152477647061971830985915492958*t - 1.0812489766209314019540910922238) - 1.0);
figure
plot(t,y10)

採用された回答

Stephen23
Stephen23 2019 年 6 月 29 日
編集済み: Stephen23 2019 年 6 月 29 日
plot is not the problem, the problem is that you used the wrong division.
Replace
/
with
./

その他の回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 29 日
t=linspace(0,20);
y10=-1*(0.013586877477623817727984981165799*exp(- 0.11152477647061971830985915492958*t-1.0812489766209314019540910922238)+ 0.002)./(exp(- 0.11152477647061971830985915492958*t - 1.0812489766209314019540910922238)-1);
plot(t,y10)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by