Question

In: Computer Science

In MATLab, 5.Which command enables the use of different axes on the left and right of...

In MATLab,

5.Which command enables the use of different axes on the left and right of a plot?

1.

plot

2.

plotyy

3.

semilogx

4.

loglog

5.

surfc

6. MATLAB is primarily used for ?

Financial Modeling

CAD drawings

Scientific and engineering data analysis, modeling and simulation

It is specific for engineering applications only

8. How would you access every even row in a 10 x 10 matrix B?

1.

B( 2: 2: 10, : )

2.

B( 1: 2: 10, : )

3.

B( : , 2: 2: 10)

4.

B(2: 10, : )

5.

B(2: 2: 10)

10. What command allows the user to adjust the min and max of the axes?

1.

lim

2.

axis

3.

axislimits

4.

can only be done via the plot command

16. Which key(s) allow you to recall a previous command?

1.

U for up and D for down

2.

The up and down arrow keys

3.

Enter

4.

Tab

21. What does ‘…’ mean when found at the end of a line when using the MATLAB editor?

1.

Makes the words following the ‘…’ a comment

2.

Indicates the command should use default settings for subsequent parameters

3.

Indicates a continuation of the command onto the next line, treating it as if it were entered onto one line

4.

Causes MATLAB to quit

23. The property ‘FontSize’ enables?

1.

Setting the size of the font in points

2.

Setting the font to bold

3.

Setting the font type

4.

Setting the font one point larger than it’s current size

Solutions

Expert Solution

ANSWER -

5) (2) Plotyy

Plotyy command is used in matlab to create plots of data set and use both left and right axes.

6) (3) Scientific and engineering data analysis, modeling and simulation

The primary use of matlab is modelling, data analysing, simulation, programming , visualization etc

8) (5) B(2:2:10)

To access even row we use 2:2 and to access even row in a 10x10 matrix we use 2:2:10

10) (3) axislimits

Axis limits command is used in matlab to specify and adjust the minimum and maximum of the axes.

16) (2) The up and down arrow keys

This operation recalls the previously entered commands.

21) (3) indicates the continuation of the command in next line

‘…’ the three dot command indicate that the code on the given line is continued onto the next line.

23) (1) Setting the size of the font in points

Font size in matlab is used for specifying the size of font in which the string is to be displayed.

=================================END===============================

Please comment if u need any more info. Please do leave a like, it would mean a lot. Thanks :)


Related Solutions

In MATLAB FOR loops: Repeat a block command a certain number of times Use a loop...
In MATLAB FOR loops: Repeat a block command a certain number of times Use a loop index Can use a non-unit stride Are required for any kind of animations An accumulator: MUST start at zero Can be used to keep track of a quantity each time through the loop Can be used to calculate how a sum changes with each loop Should be coded, for loops are more efficient For loops: Perform a set task a set number of times...
When do we use in probability: -the area to the right of Z (when to use right Z-table) -the area to the left (when to use left Z-table)
When do we use in probability: -the area to the right of Z (when to use right Z-table) -the area to the left (when to use left Z-table) -and when do you subtract 1 from the area to the left instead of using the right table ?  
Write a MATLAB script file to integrate  using trapezoid method (do not use trapz command for this...
Write a MATLAB script file to integrate  using trapezoid method (do not use trapz command for this part, write your own script). Consider x=-0.5 to 3 with Δt=0.01, and compare your result with using “integral” and "trapz" commands (all in one file).
In the figure, which capacitor plate, left or right, is the positive plate?
1. In the figure, which capacitor plate, left or right, is the positive plate? 2. What is the electric field strength inside the capacitor? 3. What is the potential energy of a proton at the midpoint of the capacitor?  
How are the left and right hippocampi different? Why are optogenetics and chemogenetics important for understanding...
How are the left and right hippocampi different? Why are optogenetics and chemogenetics important for understanding the functioning of the nervous system? How might the findings that the left and right hippocampus are different inform studies of human conditions, such as Alzheimer’s Disease?
GOALKEEPER JUMP Left Center Right Kick to Left 52 5 45 Kick to Center 39 12...
GOALKEEPER JUMP Left Center Right Kick to Left 52 5 45 Kick to Center 39 12 35 Kick to Right 50 5 59 In​ soccer, serious fouls result in a penalty kick with one kicker and one defending goalkeeper. The accompanying table summarizes results from 302 kicks during games among top teams. In the​ table, jump direction indicates which way the goalkeeper​ jumped, where the kick direction is from the perspective of the goalkeeper. Use a 0.01 significance level to...
Which of the patient’s limbs serves as an electrical ground? A)left arm b) right Arm c)right...
Which of the patient’s limbs serves as an electrical ground? A)left arm b) right Arm c)right leg d)left leg
Use the Left and Right Riemann Sums with 3 rectangles to estimate the area under the...
Use the Left and Right Riemann Sums with 3 rectangles to estimate the area under the curve of y=lnx on the interval of [2,10] Round your answers to the second decimal place.
\int \frac{x^6+5x^4+4x-3}{\left(x^2+3x+5\right)\left(x^2+7x+12\right)}dx
\int \frac{x^6+5x^4+4x-3}{\left(x^2+3x+5\right)\left(x^2+7x+12\right)}dx
MARKET FOR PEANUTS: Demand shifters (which one and which way, left or right) Going to baseball...
MARKET FOR PEANUTS: Demand shifters (which one and which way, left or right) Going to baseball games becomes more popular Walnuts have been become cheap. What would happen to price if Demand 1) and Supply 1) happened together? What would happen to quantity?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT