How to replace all elements in a Table?
Mostra commenti meno recenti
For example, if I want to replace all -9999 with -999, I can do this in a matrix:
A(A==-9999) = -999;
My question is how to do this in a table that is generated by readtable?
A = readtable('test.xlsx');
When I tried, I got an error saying:
Operator '==' is not supported for operands of type 'table'.
Thank you.
1 Commento
dpb
il 14 Mar 2020
Read the doc on accessing data in a table ...
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Other Formats in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!