How can I solve this derivative problem in the matlab program?

 채택된 답변

KSSV
KSSV 2020년 8월 22일
syms x
f = (x^2+1)*(x^3+3) ;
df = diff(x)
simplify(df)

댓글 수: 5

Dear KSSV,
The answer but in matlab answer is 1.
It cannot be 1.
I wrote in the matlab, the answer was 1.
Please check your matlab.
You need to do diff(f) not diff(x)!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

태그

질문:

2020년 8월 22일

댓글:

2021년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by