To plot two functions in the same graph in MATLAB, you can use the plot function multiple times within the same figure. Here is an example code snippet that shows how to plot two functions in the same graph:
main.m637 chars31 lines
By using the hold on and hold off commands, you can plot multiple functions in the same graph.
gistlibby LogSnag