Finding the value of the below curve

2 visualizzazioni (ultimi 30 giorni)
Amy Topaz
Amy Topaz il 14 Apr 2022
Risposto: Sam Chak il 14 Apr 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')

Risposte (1)

Sam Chak
Sam Chak il 14 Apr 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

Categorie

Scopri di più su Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by