Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

making values 0 using PSO

3 Ansichten (letzte 30 Tage)
kash
kash am 4 Feb. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Walter Roberson
Walter Roberson am 4 Feb. 2012
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 Kommentar
kash
kash am 4 Feb. 2012
walter if u dont mind can u please code it for me,because i am struck in this pso and co-efficient reduction

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by