derivative plot of function

1 view (last 30 days)
shiv gaur
shiv gaur on 21 Jan 2022
Commented: shiv gaur on 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 Comments
Geoff Hayes
Geoff Hayes on 21 Jan 2022
@shiv gaur - please clarify your question. Are you asking how to determine the derivative of the function with respect to t?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!