derivative plot of function

1 Ansicht (letzte 30 Tage)
shiv gaur
shiv gaur am 21 Jan. 2022
Kommentiert: shiv gaur am 21 Jan. 2022
function y=f(p,t)
ea=2.25;
em=0.15+1i*3.2;
theta=1:15;
x=1.5*sin(theta);
ka=sqrt(ea-x.^2);
km=sqrt(em-x.^2);
y=2.*atan(1i.*(1-exp(2*1i.*km.*p))./(1+exp(2*1i.*km.*p)))-2.*atan(1i.*exp(2*1i.*ka.*t)./(1+exp(2*1i.*ka.*t)));
end
when we take p=1:15
plot dy/dt vs p and plot dy/dt /dy/dp vs p
  2 Kommentare
Geoff Hayes
Geoff Hayes am 21 Jan. 2022
@shiv gaur - please clarify your question. Are you asking how to determine the derivative of the function with respect to t?
shiv gaur
shiv gaur am 21 Jan. 2022
yes

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by