필터 지우기
필터 지우기

Why the continuous sinusoidal shape become discrete shape after inverse kinematic function ?

조회 수: 1 (최근 30일)
Hai guys,
I'm Siti. I need an opinion regarding problem that I face now. I have a simulink diagram as follows.
The input to the inverse kinematics function for the third signal builder is as :
However, when this signal goes into the matlab function, it become discrete form, which can be seen as :
And the output is in the blue colour. I've discussed this with my colleagues and have change few setting such as the solver type, but still give the same outcome. For your reference, the code for the third input is:
if true
t2 = tet2;
part31 = z03 - L1;
part32 = L3*cos(tet2);
part33 = asin(round((part31/part32)*100)/100);
if part33 == 0 || yT3 < 0
t3 = asin(round((part31/part32)*100)/100) ;
else
t3 = pi - asin(round((part31/part32)*100)/100) ;
end
end
Maybe you guys could give me some clue about this. Thanks guy :)
Regards, Siti

답변 (0개)

카테고리

Help CenterFile Exchange에서 Detection, Range and Doppler Estimation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by