Write a MATLAB statement that results in the input request shown in bold. The​ >> shows where your statement is​ typed, and the​ | shows where the cursor waits for input. The display must be correctly positioned. Each has a space before the cursor​ (shown as​ |). The input variable name and the variable type are shown at the right.

Respuesta :

Answer:

For the given input request, the MATLAB statement is as follows

Bolt=input(‘Enter the length of the bolt in inches:’);

Consequently, the statement is written

The next MATLAB statement is

Bolt=input(‘Enter the company’s name: ‘s’);

The statement is therefore, written

Finally

Line_color=menu(‘Choose a color’, ‘Red’, ‘Green’, ‘Blue’);