readmatrix returning last column as NaN
Afficher commentaires plus anciens
Hello Reader!
I am practicing with figures and am practicing with custom cursors.
To save having a very large matrix in the code instead I have a .txt file with the matrix.
customcursor = readmatrix('smileyfacematrix.txt') ;
As you can see in the image the last column of customcursor is entirely NaN.

This is what the text file looks like.

I can not understand why the last column MATLAB converts entirely to NaN and how I can stop this from happening.
1 commentaire
Philip
le 24 Mai 2024
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!