Borrar filtros
Borrar filtros

How to append NaN to a matrix of 1 row and 1683 columns?

6 visualizaciones (últimos 30 días)
Ekta Sharma
Ekta Sharma el 14 de Jun. de 2016
Comentada: SUKHRAJ KAUR el 13 de Sept. de 2019
I have a matrix of 1 row and 1683 columns, I want to append NaN at the end of this matrix so that it can be equal to 1686 columns. I have another matrix of 1 * 1686. Once they both will be equal, I have to apply confusion matrix. Any help in this case will be highly appreciated. Thanks in advance.

Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Jun. de 2016
YourMatrx(1684:1686) = NaN;

Más respuestas (0)

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by