필터 지우기
필터 지우기

Regarding the differentiation of function

조회 수: 1 (최근 30일)
Amy Topaz
Amy Topaz 2022년 3월 30일
댓글: Torsten 2022년 3월 30일
I am trying to find the d(A)/dx and plot its value for y = 1,6,0.03,0.08,10 with respect to varying x from -10 to 10.
(ii) Find the value of the maxima for all the stated y values
How to do it?
x = -10:0.1:10;
y = [1 6 0.03 0.08 10]';
A = 23 * (atan((0.005 + y)/x^2));
B = diff(A);

채택된 답변

Matt J
Matt J 2022년 3월 30일
x = -10:0.1:10;
y = [1 6 0.03 0.08 10]';
A = 23 * (atan((0.005 + y)./x.^2));
B = diff(A,1,2)/0.1;
plot(x(1:end-1),B')
  댓글 수: 4
Amy Topaz
Amy Topaz 2022년 3월 30일
How to get the maximum values from the graph plotted for each y?
Torsten
Torsten 2022년 3월 30일
By applying MATLAB's "max" to the rows of B.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by