Unrecognized function or variable 't'.
2 views (last 30 days)
Show older comments
0 Comments
Answers (1)
Star Strider
on 5 Jul 2022
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).
.
0 Comments
See Also
Categories
Find more on Get Started with MATLAB 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!