Correct use of isnan?
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Carlos Batista
il 14 Lug 2014
Commentato: Carlos Batista
il 14 Lug 2014
Hi users Matlab!
Users, I have an matrix as 3 dimensions:
a=10x8x2 (...)
This matrix I have some values that I had to call as NaN (...)
I applied function ()=~isnan() for renove these NaN (...) But, my matrix that had 3 dimensions was only 2 dimensions (...)
I'd like to kwon how to keep my 3 dimensions when use the function ()~isnan()
Thanks!
Carlos
I need that there are withdrawal these NaN in a matrix com 3D
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 14 Lug 2014
Modificato: Azzi Abdelmalek
il 14 Lug 2014
You can't remove some values of your matrix. You can remove columns, rows or channels. Obviously, the size of your matrix will be reduced
3 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!