Hi All,
I am priniting my matrix to excel file using xlswrite. I want to write out my zero as blanks/space
how do i do it?
Thanks

 채택된 답변

Guillaume
Guillaume 2014년 12월 4일
편집: Guillaume 2014년 12월 4일

1 개 추천

c = num2cell(m);
c(m == 0) = {[]};
xlswrite('somefile.xlsx', c);

추가 답변 (0개)

카테고리

태그

질문:

2014년 12월 4일

편집:

2014년 12월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by