creating .mat files with variables
조회 수: 1 (최근 30일)
이전 댓글 표시
hello all how can i create as .mat file with 4 variables in it of diff sizes like a=1x1 mtx,b=100x128mtx,c=116x128 mtx and d=1x128 mtx.
댓글 수: 0
채택된 답변
TAB
2013년 1월 25일
a=10;
b=rand(100,128);
c=rand(116,128);
d=rand(1,128);
save('myfile.mat','a','b','c','d');
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!