subtract value from column in table
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dion Theunissen
am 10 Jun. 2021
Beantwortet: Scott MacKenzie
am 10 Jun. 2021
hi,
I want to subtract a table column from a value.
like this:
for c = 1:8
minus = table2array(Scan(1,c));
Scan(:,c) = (Scan(:,c)-minus);
end
but i get the error that operator '-' is not supported in tables.
How can I fix this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!