0
Beantwoord
quad my own function with mp object
hi, i have a function with its parameters of mp object, for example, k is a mp object, x is syms, and the function:phi=@(x,k,B) A*sin(k*x)+B*cos(k*x)-A*sinh(k*x)-B*cosh(k*x), I found it does not allow me to multiply k*x, how can I quad this function?
Customer support service by UserEcho
In general, there is no interconnection between "sym" and "mp" - since "sym" is of closed format of Mathworks.
We are not able to provide mixed-type operations for them.
x = mp(char(x)) % x becomes of mp type