cell array multiplication with number error
1 回表示 (過去 30 日間)
古いコメントを表示
Hello
I have an 22930666x1 cell array and i want to multiplie every element with 1*10^-3 but i keep getting the following error:
Undefined operator '*' for input arguments of type 'cell'.
i also tried it with .*
this is how i do it
CHAamv = readtable('C:\Users\soren\Desktop\Bureaublad\school\MAP\ELFmetingen_5juni2020\ELFmetingen_5juni2020\achtergrondMetingen\picoscoop\achtergrond_320uT_low_10secRecord.csv');
CHAamv = table2array(CHAamv);
CHAamv(:,1)=[];
CHAamv(1,:)=[];
CHAaV = CHAamv *(1*10^-3);
i hope someone can explain what my problem is
thanks in advance
2 件のコメント
回答 (1 件)
madhan ravi
2020 年 6 月 22 日
編集済み: madhan ravi
2020 年 6 月 22 日
Shot in the dark.
CHAaV = CHAamv{:,:} * 1e-3;
2 件のコメント
madhan ravi
2020 年 6 月 22 日
Screenshot of the workspace showing the variable contents would be helpful.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!