Réponses (1)

Star Strider
Star Strider le 5 Juil 2022

0 votes

Just befor the ‘u’ assignment, insert these assignments:
tmax = 10; % Maximum Time
tnum = 150; % Number Of Elements in ‘t’
t = linspace(0, tmax, tnum);
The rest of the code should then work (although I cannot test it because it is difficult to read the image).
.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by