"Domain error. To compute complex results from real x, use 'acos(complex(x))" error in matlab?

14 views (last 30 days)
hi.i want to simulate the model but while running there is this error in the inverse kinematic function :
Domain error. To compute complex results from real x, use 'acos(complex(x))
how can I fix it?
Kindly find attached the Simulink file

Answers (1)

Yuvraj Singh
Yuvraj Singh on 4 Jan 2023
Hi Oluwapelumi,
I understand that you are trying to simulate a model but encounter Domain error in the inverse kinematic function.
I found a MATLAB Answers link which provides resolution to a similar problem.
I hope this helps you.
-Yuvraj

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!