Hi Greg,
The function is way longer than what I typed above, that's why I put the ellipsis :P
I might be able to differentiate it this time, is there an easier way though?
Hasan
Hi there,
In Simulink, I'm trying to differentiate a function with respect to a non-time variable. So I created an embedded matlab function and wrote down the following:
function phi = func(B)
syms x;
phi = diff(cosh(B*x)-cos(B*x)...),x);
This function works if called from Matlab console, but...