MATLAB Answers

Use a symfun as index of a matrix

조회 수: 26(최근 30일)
DZ AI
DZ AI 15 Dec 2015
답변: amin ya 25 Dec 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?

  댓글 수: 0

로그인 to comment.

답변(1개)

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

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by