derivative plot of function

1 visualizzazione (ultimi 30 giorni)
shiv gaur
shiv gaur il 21 Gen 2022
Commentato: shiv gaur il 21 Gen 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 Commenti
Geoff Hayes
Geoff Hayes il 21 Gen 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 il 21 Gen 2022
yes

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by