what's wrong in my code?
Mostra commenti meno recenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 27 Nov 2021
1 voto
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 Commento
Art dela vega
il 28 Nov 2021
Categorie
Scopri di più su Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


