what's wrong in my code?
이전 댓글 표시
채택된 답변
추가 답변 (1개)
Walter Roberson
2021년 11월 27일
1 개 추천
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)
카테고리
도움말 센터 및 File Exchange에서 Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


