what's wrong in my code?
Ältere Kommentare anzeigen
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 27 Nov. 2021
1 Stimme
You created y as a symbolic function, syms y(t)
You try to assign to ySol(y) . But y is a function, and you cannot index by a function.
You could assign to ySol(t)
1 Kommentar
Art dela vega
am 28 Nov. 2021
Kategorien
Mehr zu Functions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


