Finding the value of the below curve

2 visualizaciones (últimos 30 días)
Amy Topaz
Amy Topaz el 14 de Abr. de 2022
Respondida: Sam Chak el 14 de Abr. de 2022
How to find the maximum value of the below curve:
z1 = [0.00008 0.009]';
a11 = -4:0.001:4;
k1 = (atan(((0.01/2 + a11)./z1) + atan((0.01/2 - a11)./z1)));
plot(a11,k1(1,:),'-k',a11,k1(2,:),'-r')

Respuestas (1)

Sam Chak
Sam Chak el 14 de Abr. de 2022
Since the curves are arctangent functions, the max values can be found at the boundary, in this case, that is a11 = 4.
It is important to know that the limit at infinity of the arctangent function is .
max_idx = length(a11)
k11_max = k1(1,:)(max_idx)
k12_max = k1(2,:)(max_idx)
k11_max = 1.5708
k12_max = 1.5685

Categorías

Más información sobre Fit Postprocessing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by