Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Simulink Plotting problem of function

2 ビュー (過去 30 日間)
Md. Zulfiker Heider
Md. Zulfiker Heider 2016 年 12 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
How can i get the same plot by creating same matlab codes in a MATlab function in Simulink. this is my final equation I=Ipv-Ion(exp((V+IRs)*(q/Ns.K.A.Tk))-1); I have varied V=32.9:-0.1:0 . In normal code output plot(V,I) ok but in Simulink the plot is showing different result. I have use repeted sequence for varing V in Simulink.

回答 (1 件)

Prateek Khandelwal
Prateek Khandelwal 2017 年 1 月 2 日
If you are getting significantly different results, it probably indicates that the differential equation in question is very stiff and close to being unstable.
Here are some signs that a system is numerically stiff/unstable: - changing the solver/ error tolerance settings in Simulink gives significantly different results - small changes in step size produce different results - system output is very noisy
I Hope This helps.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by