フィルターのクリア

Why I get the error Index in position 2 exceeds array bounds (must not exceed 1).

1 回表示 (過去 30 日間)
Ryan Scott
Ryan Scott 2020 年 5 月 8 日
編集済み: Ameer Hamza 2020 年 5 月 8 日
V = X(;,2)*0.028
File attached is X

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 5 月 8 日
編集済み: Ameer Hamza 2020 年 5 月 8 日
Try this
X = readmatrix('FinalProj_TVdata.csv');
V = X(:,2)*0.028;
Or this if you are using R2018b or earlier.
X = readtable('FinalProj_TVdata.csv');
V = X{:,2}*0.028;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by