필터 지우기
필터 지우기

Info

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

IS THERE ANY WAY TO RESOLVE THIS LOOP ISSUE AS IT TAKES ALOT OF TIME TO EXECUTE

조회 수: 1 (최근 30일)
abdul wahab  aziz
abdul wahab aziz 2016년 8월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
for i=1:size(A,1)
for j=1:size(A,2)
if(A(i,j)==100)
Predict_Value=Pred_Cal(i,j,B(:,j),B);
Output(i,j)=Predict_Value;
L=L+1;
L
end
end
end
i have this code the function pred calculates value 1682 times for a single value passed i need these coordinates i,j to to pass it to function where 100 exists,,currently there are 48000 100,s in matric of A, i am using this matric which is of 943*1682...so too much time take in this code kindly help me here in this code for more quick results

답변 (0개)

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by