Use a symfun as index of a matrix

5 visualizzazioni (ultimi 30 giorni)
DZ AI
DZ AI il 15 Dic 2015
Risposto: amin ya il 25 Dic 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?

Risposte (1)

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

Categorie

Scopri di più su Numeric Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by