Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
I want to store all the outputs in a single matrix and also i want to select all the combination for which c has minimum and maximum value.
조회 수: 1 (최근 30일)
이전 댓글 표시
for a=1:5
for b=5:8
for c=1:20
if mod(a+b,c)~=0
t=[a,b,c]
end
end
end
end
I want result in the following form
t =
1 5 4
1 5 5
1 5 6
1 5 8
1 5 9
and so on
Kindly help me
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!