what's wrong in my code?
Afficher commentaires plus anciens
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 27 Nov 2021
1 vote
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 commentaire
Art dela vega
le 28 Nov 2021
Catégories
En savoir plus sur Functions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


