How do I evaluate matrix function in symbolic format as follows?

1 回表示 (過去 30 日間)
Shawn Miller
Shawn Miller 2016 年 1 月 31 日
編集済み: Shawn Miller 2016 年 1 月 31 日
h_matrix = @(x)(x*pascal(3));
sym_matrix = sym(h_matrix)
When I use
sym_matrix(2)
I got an error. My question is how can I evaluate symbolic function as a regular function handle (h_matrix(2))?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by