plotting within nested for loop
이전 댓글 표시
Hi This is toy code similar to what I want to achieve:
T = randi(10,10)
Q = randi(10,10)
hold on
for i = 1:10
for j = 1:10
plot(T(i,j),Q(i,j))
end
end
hold off
and my goal is to the corresponding elements of the two matrices in a plot. Yet it does not work - where is the problem?
댓글 수: 1
Rashmil Dahanayake
2014년 6월 18일
The original code works fine. What errors are you referring to
답변 (1개)
SRI
2014년 6월 18일
0 개 추천
Your Code Is working Properly only, Please be precise with your question, so that we can solve your issue
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!