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

2 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by