MATLAB - 2D Plotting
Which command combination correctly plots two different functions on the same figure in MATLAB?
plot(x, y1) to draw the first line.hold on before plotting second functionhold on keeps the first plot visible so the second plot plot(x, y2) adds to the same figure.hold on between plots = A [OK]hold on before second plot to combine [OK]hold on causes second plot to erase firsthold off before second plot erases firsthold on after second plot has no effect15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions