how to make a partial difference from multivariable function?

1 view (last 30 days)
phi = atan2(sin(psi)*sin(theta),cos(psi)+cos(theta)); %eq.(30)
i want to make a partial difference of phi(psi,theta) once into psi and once into theta. i use the "diff" funtion in form of "diff(phi,psi) and MATLAB gave me an long answer that contains of real and imaginary part. but i want a compeletly real answer.

Answers (0)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!