Understanding the code dlmwrite
이전 댓글 표시
Hello. can anyone help me to understand this code ?
- dlmwrite('test.txt', a, 'delimiter', ','); *
what is "a" and "delimiter" stand for in this code ?
one more is about reshape. below is the code.
c = reshape(b, x, y/3, 3);
i try to change "y/3" to "y/2" the result doesnt show up.
this is the full code. and sorry i really new in matlab. doesnt understand much the code.
a = imread('img2.jpg');
dlmwrite('test.txt', a, 'delimiter', ',');
b = dlmread('test.txt');
[x,y] = size(b);
c = reshape(b, x, y/3, 3);
image(c/255)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!