You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A very simple function which uses the DataFeed toolbox to retrieve stock prices for a specified number of days from the Yahoo service and plots them.
e.g. to see how your Microsoft shares have done over the last three months, just type:
>> show_chart('MSFT',90)
Cite As
Malcolm Wood (2026). Plot Stock Prices (https://www.mathworks.com/matlabcentral/fileexchange/11699-plot-stock-prices), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.2.0.1 (2.43 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
