I was doing an exercise about position velocity and accelleration of a four-bar linkage.
So, for example, I wrote the vector position as: (given input angular velocity and acceleration )
for i = 1:360
theta2(i,1) = i*pi/180;
w2(i,1) = ...
alpha2(i,1) = ...
Ra(i,1) = R2*exp(1i*theta2(i,1));
Va(i,1) = R2*1i*w2(i,1)*exp(1i*theta2(i,1));
Aa(i,1) = (R2*alpha2(i,1)*1i*exp(1i*theta2(i,1)))-(R2*w2(i,1)^2*exp(1i*theta2(i,1)));
Now , I want ask :
Is the x-component of these vectors the real part and the y-component the imag. part ?
Aax = real(Aa) ?
Aay = imag(Aa) ?
The complete, for example, acceleration is Aa = sqrt(Ax^2 + Ay^2) , so if i need to plot the Aa , i plot sqrt(Ax^2 + Ay^2) ??