Matlab solves differential equations but returns empty plots
1 view (last 30 days)
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.
0 Comments
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.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots 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!