IN MATLAB What does the hold on command do stops the program
IN MATLAB:
What does the hold on command do? stops the program closes the plot keeps existing plot erases existing plot Which of the following represents the coefficients of a 2nd order polynomial? A = [3, 4] A = [3;4] A = [3;4;5] A = [3;4;5] How would the polynomial y = 3x^5 -x be defined in Matlab? y = [3 1] y = [3-1] y = [3 0 0 0 1] y = [3 0 0 0 -1] y = [3 0 0 0 1 0] y = [3 0 0 0 -1 0]Solution
1. keeps existing plot - hold on retains plots in the current axes so that new plots added to the axes do not delete existing plots. New plots use the next colors and line styles based on the ColorOrder and LineStyleOrder properties of the axes. MATLAB® adjusts axes limits, tick marks, and tick labels to display the full range of data.
2. A=[3,4,5], for example 3y\"+4y\'+5y=0 means 3,4,5 is a coeffients of a second order polynomial.
3. y=[3 -1], Properly label the plot and each curve. The variable x represent current in miiliamperes; the variable y represent voltage in volts.
