필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
Ekta Sharma
Ekta Sharma 2016년 6월 14일
댓글: SUKHRAJ KAUR 2019년 9월 13일
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.

채택된 답변

Walter Roberson
Walter Roberson 2016년 6월 14일
YourMatrx(1684:1686) = NaN;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by