To display two results in MATLAB, you can use the fprintf function to print the results to the command window.
Here's an example:
main.m101 chars6 lines
This will display the values of result1 and result2 as follows:
main.m26 chars3 lines
You can replace the values 10 and 20 with your desired variables or expressions.
Note: If you want to display the results in a graphical form, you can use MATLAB's plotting functions such as plot, scatter, or imshow, depending on the type of data you have.
gistlibby LogSnag