how to save a matrix that contains NaN, strings and numbers
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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 个评论
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 Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!