Matlab solves differential equations but returns empty plots
Show older comments
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.
Answers (1)
Star Strider
on 10 May 2021
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.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!