Error: File: Q7.m Line: 12 Column: 2
What does the error mean?
I'm using Matlab to solve Mechanism problems,and here is my code.
I'm pretty sure that it's not InverseRR's problem.I have used that function in other problems ,and it worked.
Hope that somebody who good at it could help me,please><
clccleara1 = 15 ; a2 = 30 ; a3 = 20 ; a4 = 30 ; alpha = 30;Xq = 50 ; Yq = 8 ; Xr = 70 ; Yr = 8;dXa = 10 ; dYa = 0;Xa = 20 ;Ya = a1 ;I = 1;BC = sqrt(a3^2 + a4^2 - 2 * a3 * a4 * cos(alpha)) ;[(theta04),(theta02),dtheta4,dtheta2,ddtheta4,ddtheta2] = InverseRR(Xq,Yq,a3,a2,Xa,Ya,dXa,dYa,ddXa,ddYa,I);theta2 = theta02 - 180;theta4 = theta04 - alpha;
Best Answer