hi all
I need to make a plot that contains all the matrices of the cell. My cell is 30*82 in size and each matrix inside it is '26*30'. Now i want to plot all the matrices in the same figure.. but when am trying to use subplot am having problem calling the cell can anyone tell me a method to do the plot
thank you

답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 4월 16일

0 개 추천

So you want to see it as one image? or one plot? Please clarify:
imagesc(cell2mat(your_cell));
More per coments
szC = size(your_cell);
figure;
for ii = 1:szC(1)
for jj = 1:szC(2);
subplot(szC(1),szC(2),sub2ind(szC,jj,ii)); %make subplot
plot_cell(ii,jj);
end
end

댓글 수: 1

Sean de Wolski
Sean de Wolski 2012년 4월 17일
lucy's answer:
in a single plot i want all my cell matrices to be plotted seperately

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

2012년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by