Question
Write a script function called, yourlastnameGrashof, to determine the Grashof condition and state if input is a crank or rocker' of a fourbar linkage system.
Write a script function called, yourlastnameGrashof, to determine the Grashof condition and state if input is a "crank or rocker' of a fourbar linkage system. The program must ask the user to input a row vector containing the four link lengths(input, coupler, output and ground) and return the respective Grashof condition as atext option as "Grashof ", "Special Grashof" or "Non Grashof" as well as 'input is a crank' or 'input is a rocker'. The program should output an error for an individual link length zero.
Hint: check out the MATLAB built-in function, sort(), to help sort the link lengths.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started