Why is my plot linear when the anonymous function z is clearly nonlinear?

1 回表示 (過去 30 日間)
Alexander Ruscitto
Alexander Ruscitto 2021 年 9 月 27 日
コメント済み: John D'Errico 2021 年 9 月 27 日
Rt = 10688; v = 18; f = 9; KD = 7.73*10^(-5); Kx = 5.8*10^(-5); L0 = 2*10^(-9);
Req = [6000:12000];
z = @(Req) ((Req.*(1+v.*(L0/KD).*(1+Kx*Req).^(f-1)))/Rt)-1;
figure
plot(Req,z(Req));

採用された回答

Matt J
Matt J 2021 年 9 月 27 日
It simply looks linear because you are plotting it over too narrow a range.
Req = 0:120000;
plot(Req,z(Req));
  1 件のコメント
John D'Errico
John D'Errico 2021 年 9 月 27 日
The funny thing is, the range of [6000:12000] probably SEEMS wide. But width is a subjective thing in this case.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMotor Drives についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by