How can I perform a mathematical operations on all elements of a column of numerical data imported from Excel in Matlab?
5 ビュー (過去 30 日間)
古いコメントを表示
I have imported 2 columns of numerical data from excel in matlab and I want to divide each element of the first column by sqrt(3), how can that be done in matlab?
0 件のコメント
採用された回答
Star Strider
2019 年 2 月 11 日
Try this:
D = xlsread('YourFile.xlsx');
D1new = D(:,1)/sqrt(3);
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!