Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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