Matlab code for Slider Crank Mechanism

hello, I am trying to write a matlab code for a slider crank mechanism with an offset using newton raphson method for finding displacement,velocity and acceleration plots. please let me know the matlab code. Attached is the picture . Assume all required inputs. given theta2=30 deg. Include the driving constraint. Thank you

4 Kommentare

darova
darova am 27 Sep. 2019
What have you tried? Can share some attempts?
darova
darova am 29 Sep. 2019
Please use attachments button for long code
11Capture.PNG
Paul Aneesh Guntur
Paul Aneesh Guntur am 29 Jul. 2020
have you found the solution?
sina sadeghi
sina sadeghi am 17 Feb. 2023
Something is missing from the code? I got the error: "Cq_p_l" function does not exist.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

darova
darova am 29 Sep. 2019

0 Stimmen

What i achieved
gif_animation.gif
And here are formulas i used to reach such success:
- pythagorean theorem

Gefragt:

am 27 Sep. 2019

Kommentiert:

am 17 Feb. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by