MATLAB: Plotting two figures side by side

plotting figures side by side

how do I plot two figures side by side?

Best Answer

You can use subplot. First create a figure
figure;
and then
subplot(1,2,1)
%make here your first plot
subplot(1,2,2)
%make here your second plot
More info: