- So you need a Matlab-Excel automation to fullfille this?
- Which exect Ecel function you want to use for the columns? (i.e. "STDEV.S" = "Estimates standard deviation based on a sample (ignores logical values and text in the sample")).
- So- the outcome for every CSV processed is a vector of the length of # of columns, each value = std of theat column. Correct?
How do i calculate the standard deviation from multiple csv files where i would like the standard deviation for each second?
조회 수: 4 (최근 30일)
이전 댓글 표시
This is what one of my many csv files look like, i would like to get the standard deviation for the temperatures at the different depths (0,2 and 4 mm) for each second. Thanks in advance!

댓글 수: 2
Matlab Pro
2025년 1월 30일
Few unclear issues:
답변 (1개)
Star Strider
2025년 1월 30일
편집: Star Strider
2025년 1월 30일
Perhaps this —
Time = datetime('now')+seconds(0:2).';
Time.Format = 'H:mm:ss';
Temperature = [20.754 19.219 19.338 20.89; 20.75 19.186 19.323 20.882; 20.784 19.186 19.312 20.857];
T1 = array2table(Temperature);
T1 = addvars(T1, Time, Before=1);
T1.Properties.VariableNames={'Time (Seconds)','(2mm_1)','(0mm)','(4mm)','(2mm_2)'}
T1.StdDev = std(T1{:,2:end},[],2)
.
EDIT — (30 Jan 2024 at 11:18)
.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
