how to derivate this function in matlab :
func = q*sin(phi)+r*cos(teta)
where q , r , teta ,phi are functions , how to find the derivative expression like this :
deriv_func =qdot*sin(phi)+phidot*cos(phi)*q +rdot*cos(teta)-tetadot*sin(teta)*r
MATLABnumerical differentiation
func = q*sin(phi)+r*cos(teta)
deriv_func =qdot*sin(phi)+phidot*cos(phi)*q +rdot*cos(teta)-tetadot*sin(teta)*r
Best Answer