필터 지우기
필터 지우기

how to save a matrix that contains NaN, strings and numbers

조회 수: 2 (최근 30일)
antonet
antonet 2013년 9월 7일
Dear all,
I want to save a matrix 'out' that contains NaN, strings and numbers
I tried
save out
but did not work. Any ideas?
Thanks in advance

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 7일
편집: Azzi Abdelmalek 2013년 9월 7일
out={10 20 nan 'str' [1 2] [1 0;2 4]}
You can save your data in a mat file:
save filename out
  댓글 수: 3
antonet
antonet 2013년 9월 7일
so you mean
save 'output.mat' out;
Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 7일
편집: Azzi Abdelmalek 2013년 9월 7일
save output out
%or
save('output','out')
Look at
doc save
doc load

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by