필터 지우기
필터 지우기

how to get derivative

조회 수: 1 (최근 30일)
mohamed
mohamed 2013년 12월 22일
편집: Matt J 2013년 12월 22일
i have a function sin^2xcos(y)/(x^3+1) and i want to get the derivative with respect to x where x varies from 0 to 5 and y varies from 0 to 4 i tried
>> x=[0,5];
>> y=[0,4];
>> ployder (((sin(x)).^2 * cos(y))/(x^3 +1))

채택된 답변

Matt J
Matt J 2013년 12월 22일
편집: Matt J 2013년 12월 22일
You mistyped poyder. Plus, it only applies to polynomials and rational functions of a single variable. You should consider the Symbolic Math Toolbox if you have it. I believe the diff() command would be the thing for this.

추가 답변 (0개)

카테고리

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