Info
この質問は閉じられています。 編集または回答するには再度開いてください。
making values 0 using PSO
2 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
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 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!