How do I remove a matrix from a published document?
3 次查看(过去 30 天)
显示 更早的评论
I want to publish a code that I wrote which involves large matrices filled with data, but I don't want to include the matrices in the published document because it adds on about 10 pages that I don't want or need and makes it look unprofessional.
How do I remove these from the published document?
Thank you
0 个评论
回答(1 个)
Sean de Wolski
2013-11-7
Don't print them to the command line by putting a semicolon after them and don't call disp or fprintf with them.
Compare:
magic(5)
And
magic(4);
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!