Question: Write a MATLAB function which accepts a vector of lengths corresponding to the 4-bar mechanism below: (x1 y) 2 (x22) V3 04 x* (x3.y3) xo.Yo)


Write a MATLAB function which accepts a vector of lengths corresponding to the 4-bar mechanism below: (x1 y) 2 (x22) V3 04 x* (x3.y3) xo.Yo) It is assumed that (xo,%) and (x3,y) represent ground Joints (V3 is static). Your function will receive the vector r-[ r2 r3 r')" and determine if the mechanism it will create is a Crank-Rocker, Rocker-Rocker, Crank Crank (Drag-Link), Change-Point, or Non-Grashof. Your code should follow the logic flow chart on the following page. And return a string by printing the statement This is afour bar mechanism." Write a MATLAB function which accepts a vector of lengths corresponding to the 4-bar mechanism below: (x1 y) 2 (x22) V3 04 x* (x3.y3) xo.Yo) It is assumed that (xo,%) and (x3,y) represent ground Joints (V3 is static). Your function will receive the vector r-[ r2 r3 r')" and determine if the mechanism it will create is a Crank-Rocker, Rocker-Rocker, Crank Crank (Drag-Link), Change-Point, or Non-Grashof. Your code should follow the logic flow chart on the following page. And return a string by printing the statement This is afour bar mechanism
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
