I'm trying to do a partial derivative, but I'm stuck when trying to use the complete elliptic integrals of the first and the second kind. I get the error in the title
Here is my code :
syms X Y;
k = X * Y;
[K, E] = ellipke(k)
??? Error using ==> ellipke at 34
Inputs must be floats, namely single or double.
F = E*X + K
diff(F, X)
Is there something I didn't understand? As for now, it seems that I can only have values and not variables for the ellipke functions. Does that mean I have to implement my own elliptic function? I'm new to matlab so any advice is welcome.