Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to vectorized this loop?

조회 수: 1 (최근 30일)
nelson
nelson 2017년 10월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
for k=1:0.5:10;
for a=1:0.5:10;
nump(i,:) =k*a;
denp(i,:) =[1 a 0];
i=i+1;
end
end
  댓글 수: 3
Jan
Jan 2017년 10월 10일
This is very similar to your former question (link posted by Per Isakson). You can apply the same methods here also. If you have problems with this, please post what you have tried so far.

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by