Problem to read CSV file
Ältere Kommentare anzeigen
Hi
My csv file is 402 rows and 2 columns (A and B).I want to read 2nd (B )column from 77 row and calculate average value. i tried like this. but it give me error. anyone please tell me how can i do it.
data=csvread('torque.csv',B77);
x=data(:,2);
B = x.';
y=mean(B)
Antworten (1)
Omer Yasin Birey
am 14 Jan. 2019
csvread('torque.csv',77,2,[77 2 77 2])
1 Kommentar
Israt Jahan
am 14 Jan. 2019
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!