필터 지우기
필터 지우기

Plotting RMS from .csv files

조회 수: 1 (최근 30일)
Win
Win 2014년 2월 18일
댓글: Win 2014년 2월 18일
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

채택된 답변

Dishant Arora
Dishant Arora 2014년 2월 18일
RMS = (sum(col2.^2)/length(col2))^0.5;
  댓글 수: 9
Dishant Arora
Dishant Arora 2014년 2월 18일
window size may vary asper the need
Win
Win 2014년 2월 18일
ok, thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by