Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

CSV Read Issues and Structural Arrays-Help me debug the CSV portion

조회 수: 1 (최근 30일)
SB
SB 2012년 11월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
Basically, I have a csv file with data about test results (the first row is a
header) and it has two columns. I have to find the mean, stdev, max and min of
the two columns separately, as fields in a structure array. I know how to find
the statistics, but I'm having trouble making the csvread function work and
making it a structure array. Here's what I have thus far to try to read the
file:
%
function S= E7stats(filename)
filename='grades_E7MT1.csv';
S=csvread(filename,1,0);

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by