for k = 1:63
data = thething{:,1}(:,4)
subplot(7,9,k)
stem(data)
end
these my codes. thething is 63 cells each with different numbers of cells in it. I would like to collect the forth line of data to draw 63 plot. Matlab saying there are 63 results but can not form plots. How can I do?

 채택된 답변

KSSV
KSSV 2018년 6월 27일

0 개 추천

for k = 1:63
data = thething{:,k}(:,4) ;
subplot(7,9,k) ;
stem(data)
end

댓글 수: 3

Kuang-Yu WANG
Kuang-Yu WANG 2018년 6월 27일
still do not work on my program. orz
KSSV
KSSV 2018년 6월 27일
Specify dimensions of your data.....in each cell
Kuang-Yu WANG
Kuang-Yu WANG 2018년 6월 27일
thanks for advice

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

추가 답변 (0개)

카테고리

제품

질문:

2018년 6월 27일

댓글:

2018년 6월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by