MATLAB Answers

Matlab solves differential equations but returns empty plots

조회 수: 1(최근 30일)
Basetsana Sebolao
Basetsana Sebolao 2021년 5월 10일
답변: Star Strider 2021년 5월 10일
I am solving 4 differential equations on Matlab simultaneously; F'ds(t), F'dr(t), F'qs(t) and F'qr(t) as shown in lines 34-37 on the first screenshot. We, Wb, Rr, Xlr, Xls...are all constants that have been initialised already however Vds and Vqs are sine functions ( line 29 and 30). Matlab solves the equations however when I try to plot the variables it returns blank plots (see the last image). Please kindly assist, thank you in advance.


Star Strider
Star Strider 2021년 5월 10일
It is not possible to do anything with the images provided.
Perhaps something like:
Fds = vpa(Fds)
and so for the rest of them would do what you want.




Community Treasure Hunt

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

Start Hunting!

Translated by