필터 지우기
필터 지우기

arbitrary symbolic functions - Symbolic math toolbox

조회 수: 4 (최근 30일)
Maria Perdomo
Maria Perdomo 2013년 6월 21일
I have an equation:
M = A sin(x(t));
and would like to find: dM/dt
is it possible to create symbolic functions without definition? for x(t) I dont have a definition. But I require:
diff(M,t).
How can an arbitrary symbolic function be declared??

채택된 답변

Walter Roberson
Walter Roberson 2013년 6월 21일
A = 9/13; %arbitrary
syms x(t)
M = A * sin(x(t));
diff(M,t)
  댓글 수: 4
Maria Perdomo
Maria Perdomo 2013년 6월 21일
2010b. I'll try a newer version. Thanks!
Maria Perdomo
Maria Perdomo 2013년 6월 21일
yep it is, 2012a works.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by