passing a sym variable to function handle
1 次查看(过去 30 天)
显示 更早的评论
for that example of function handle line;
F=@(t,y) t*y;
is it possible to pass t*y into function handle externally like so:
A = t*y;
F=@(t,y) A;
i tried that and it failed, is there any other way to do so?
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!