필터 지우기
필터 지우기

How to do manual operation of cross multiplication or substitution?

조회 수: 2 (최근 30일)
Muhammad Usman
Muhammad Usman 2021년 12월 12일
댓글: Chunru 2021년 12월 14일
If
syms A B x
y = A*x^2 + B*x;
dy = diff(y)
d2y = diff(dy)
then how to get where d2y is the second derivation; using subs or any other command in MATLAB

답변 (1개)

Chunru
Chunru 2021년 12월 12일
Is this what you want?
syms A B x z
y = A*x^2 + B*x;
dy = diff(y)
dy = 
d2y = diff(dy)
d2y = 
z = d2y/x^2
z = 
  댓글 수: 4
Muhammad Usman
Muhammad Usman 2021년 12월 13일
Means using any built-in command like subs or eval
Chunru
Chunru 2021년 12월 14일
subs and eval are for different purposes (not in your questions)

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by