Info

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

making values 0 using PSO

조회 수: 2 (최근 30일)
kash
kash 2012년 2월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
HI I HAVE A IMAGE OF SIZE 128X128,i want to make some matrix values as zeros,using PSO ,please help,such that i need 10 matrix values

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 4일
Start with your array.
Have your PSO routine generate any one candidate solution that is a scalar in the range 1 to numel(your array). This vector will represent that the array position designated by that scalar value should be set to 0.
Have your quality measure accept the proposed solution as being completely successful.
Quit after the one iteration since you have achieved complete success.
  댓글 수: 1
kash
kash 2012년 2월 4일
walter if u dont mind can u please code it for me,because i am struck in this pso and co-efficient reduction

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

Community Treasure Hunt

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

Start Hunting!

Translated by