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

3 visualizaciones (últimos 30 días)
Shawn Miller
Shawn Miller el 31 de En. de 2016
Editada: Shawn Miller el 31 de En. de 2016
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))?

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by