Question: Write one MATLAB program and make use of the MATLAB's menu function that creates three (3) interactive menu buttons to solve the following 3 problems.


Write one MATLAB program and make use of the MATLAB's menu function that creates three (3) interactive menu buttons to solve the following 3 problems. Label the buttons, for example, as Solution 1', 'Solution 2', and 'Solution 3'. Present one soluti on when each menu button is clicked. Menu Example choice = menu ("Click a button: ', 'Button 1', 'Button 2, , 'Button 3') ; switch choice case 1 disp You clicked button 1. ') disp (You clicked button 2.) disp( 'You clicked button 3.) case 2 case 3 Problem 1: 34L 4x Force P= 6000 N . Angle300 . Angie@= 400 . Angle 550 , L. 13 Length L1 = 4 m Length L2 = 0.8 m 1x ly A truss is a structure made of members joined at their ends. Write the equations in matrix form and use MATLAB matrix to determine the forces in the members: 12, 23, 13, and 34 for the truss shown in the figure. A positive force means tensile force and a negative force means compressive force Display the results in a table where the first column displays the member name, the second column displays the corresponding force, and the third column shows the type of tensile or compressive force
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
