4.33333

4.3 | 4 ratings Rate this file 4 Downloads (last 30 days) File Size: 903 Bytes File ID: #14397

real time scope display (simple script)

by Yonathan Nativ

 

23 Mar 2007 (Updated 23 Mar 2007)

a simple script for reall time display

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
26 Mar 2007 Kitak Ahn

It's good idea.
"ind???1" may be changed to "ind+nSamples-1" in line 15 & 26, right ?

27 Mar 2007 Kitak Ahn

Thanks for the quick response, Yonathan,
Due to the font problem on my PC, some characters are shown as broken state. Wrong line numbers might come from the same reason. That's why I guess the correct code. (It was right^^) Thanks, Yonathan.
------------------------------------------
"ind???1" may be changed to "ind+nSamples-1" or somethingin line 15 & 26, right ?

24 Jul 2007 Thomas Lee

This is just what I am searching for. Thanks. Good Job!!

17 Jan 2008 nikhil lokhande  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
annotation Yonathan Nativ 22 Oct 2008 09:05:32
customization Yonathan Nativ 22 Oct 2008 09:05:32
scope Yonathan Nativ 22 Oct 2008 09:05:32
real time Yonathan Nativ 22 Oct 2008 09:05:32
display Yonathan Nativ 22 Oct 2008 09:05:32
plot Yonathan Nativ 22 Oct 2008 09:05:32
plotting Yonathan Nativ 22 Oct 2008 09:05:32

Contact us at files@mathworks.com