Plotting RMS from .csv files

6 visualizaciones (últimos 30 días)
Win
Win el 18 de Feb. de 2014
Comentada: Win el 18 de Feb. de 2014
I have data in the csv format that I'm plotting it using the lines of code below. The data has 2 columns and 1048576 rows. I have uploaded part of it below- the actual files being too large. Can you please tell me how to plot the RMS of the data?
if true clear all Array=csvread('Pencilbreak-63dB.csv'); col1 = Array(:, 1); col2 = Array(:, 2); plot(col1, col2) end

Respuesta aceptada

Dishant Arora
Dishant Arora el 18 de Feb. de 2014
RMS = (sum(col2.^2)/length(col2))^0.5;
  9 comentarios
Dishant Arora
Dishant Arora el 18 de Feb. de 2014
window size may vary asper the need
Win
Win el 18 de Feb. de 2014
ok, thanks a lot.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical 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!

Translated by