Real Time Plot Not Smooth Enough
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Bolin
el 19 de Oct. de 2014
Respondida: Star Strider
el 19 de Oct. de 2014
Hi Guys
I have written a real time plotter that plots 128 samples I receive from an EEG headset, one sample at the time and attached is the result.
Obviously, since I'm plotting one point at a time, it is not going to be continuous enough.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145766/image.png)
Is there anyway to do real time interpolation to some how connect these dots?
If not, how do people produce real time plots that are continuous (smooth or jagged doesn't matter)?
2 comentarios
Respuesta aceptada
Star Strider
el 19 de Oct. de 2014
To produce a line that appears continuous, change your plots to:
plot(i+Seconds*128,Channel_1,'-r','LineWidth',1.8)
plot(i+Seconds*128,Channel_2,'-g','LineWidth',1.8)
The '--' linetype will plot a dashed line, the '-' linetype will plot a continuous one.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Biomedical Signal Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!