how to make a partial difference from multivariable function?
Show older comments
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.
1 Comment
Walter Roberson
on 2 Dec 2015
You could try simplify() on it.
Answers (0)
Categories
Find more on Programming 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!