Question: 1. USING MATLAB Using the disp and fprintf commands, write one line of code each to output the following statement. Thank you for coming to

1. USING MATLAB

Using the disp and fprintf commands, write one line of code each to output the following statement.

Thank you for coming to Savage tree, you are number 36 in line to recieve your drink

When values stores in A and B are

A = 46

B = 'Savage Tree'

Using disp command:

Using fprintf command:

2. Write one line in MATLAB code that will prompt the user to input the user's middle name and stoe the input as a variable that is a string (character array) named "B"

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!