Question: Problem-1: Make a MATLAB Script to do the following a) Read the data from excel sheet named Quiz_5_Excel_file.xlsx. Name this F_all b) Read only 3rd

Problem-1: Make a MATLAB Script to do the following

a) Read the data from excel sheet named Quiz_5_Excel_file.xlsx. Name this F_all

b) Read only 3rd and 4th columns. Name this F_c34

c) Read 1st to 4th row of 1st and 2nd column. Name this F_r14_c12. Problem-2: Using fprintf, you have full control of output display. For example, age and weight for a guy named John is age = 30 and weight = 171 lb. We want to display outs put as John is 30 years old and weighs 171 lb.

To do so, one can write a command as below, age = 30, weight = 171; fprintf(John is %d years old and weighs %0.2f lb ,age, weight)

Make a MATLAB Script file to do the following a) Using theta, x and y as arguments, Display following The end-effector position of one DOF manipulator for theta = 45 degree is x = 20 cm and y = 20 cm Where, theta = 45, x = 20 and y = 20. b) Using temperature as argument, display following The outside temperature is 80 deg Fahrenheit Where, temperature = 80;

10 100 1 0.1 20 200 2 0.2

30 300 3 0.3 40 400 4 0.4

50 500 5 0.5 60 600 6 0.6

70 700 7 0.7 80 800 8 0.8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!