passing a sym variable to function handle

1 回表示 (過去 30 日間)
Can
Can 2014 年 12 月 29 日
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 件)

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by