Use a symfun as index of a matrix

6 visualizaciones (últimos 30 días)
DZ AI
DZ AI el 15 de Dic. de 2015
Respondida: amin ya el 25 de Dic. de 2018
Hi everybody, I have a notation problem.
syms f(t) g(t)
v lxmxn 3d matrix
I am to write an equation like:
eq = diff(f) == v(f(t),g(t),t)
but i get a sym/subsindex error.
how can I access elements of a matrix indexed by a function?

Respuestas (1)

amin ya
amin ya el 25 de Dic. de 2018
use formula to convert symfun to a matrix:
matrix=formula()

Categorías

Más información sobre Numeric Types 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