Matlab solves differential equations but returns empty plots
显示 更早的评论
Hello
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.
回答(1 个)
Star Strider
2021-5-10
It is not possible to do anything with the images provided.
Perhaps something like:
Fds = vpa(Fds)
figure
fplot(Fds)
and so for the rest of them would do what you want.
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!