This is a very SIMPLE script which plots data in real time.
A friend of mine had problems doing just this so I thought it might help others too...
Basically in this script I create a random vector (a), define the sampling rate the vector was sampled with and define the scope time base.
The script runs displays the entire vector in a continuous display.
My friend needed it for a simulation she did and in which her professor demanded a "semi" real time display.
Yonathan Nativ (2021). real time scope display (simple script) (https://www.mathworks.com/matlabcentral/fileexchange/14397-real-time-scope-display-simple-script), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!