Finding the value of the below curve

3 vues (au cours des 30 derniers jours)
Amy Topaz
Amy Topaz le 14 Avr 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')
  1 commentaire
KSSV
KSSV le 14 Avr 2022
Did you try max function?

Connectez-vous pour commenter.

Réponses (1)

Sam Chak
Sam Chak le 14 Avr 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

Catégories

En savoir plus sur Fit Postprocessing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by