How can i save a matrix in a txt file and also in .png format?

조회 수: 1 (최근 30일)
Mr. 206
Mr. 206 2018년 10월 29일
답변: madhan ravi 2018년 10월 29일
I have a 12 by 3 matrix 'A'. I want to write this matrix in a txt file with a Title as well as separate names for each column and row.
For example for 12 rows i want to name them "M1,M2,M3,M4,M5,.......M12" For 3 columns i want them like "37.txt,38.txt,39.txt".
And is it possible to save this in 'png' format?

답변 (1개)

madhan ravi
madhan ravi 2018년 10월 29일
use writetable() or dlmwrite()

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by