MATLAB: Plotting 2 different inputs and 1 output using x-y axis

plot

How can I plot 2 different inputs and 1 output using x-y axis?
I used plot3, but the result was a 3D.

Best Answer

I would suggest taking a look at chapter 9 (plotting) in MATLAB Onramp. It is interactive, and may be a great way to learn other helpful things about MATLAB.
Related Question