필터 지우기
필터 지우기

Use a symfun as index of a matrix

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

답변 (1개)

amin ya
amin ya 2018년 12월 25일
use formula to convert symfun to a matrix:
matrix=formula()

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by