Implement mupad Codes into Matlab Script
Show older comments
Can anyone help me to implement the following mupad codes into matlab script so that I can directly save the result into the working space?
l1 := 0.167;
l2 := 1.136037;
THETA:= -2.0;
argu:=sqrt(k)*l1;
num := 1/sqrt(k)*sin(argu)+l2*cos(argu);
den := -l2*sqrt(k)*sin(argu)+cos(argu);
F:=-THETA+arctan(num/den)
numeric::fsolve(F, [k=-40..40], MultiSolutions);
Thanks a lot!
Accepted Answer
More Answers (0)
Categories
Find more on Numeric Solvers 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!