generating a matrix value
1 回表示 (過去 30 日間)
古いコメントを表示
i have a an image ,please tell hoe to make some values zero in that matrix ,i am struck here for long time ,please help,like these i need 10amatrices
2 件のコメント
Walter Roberson
2012 年 2 月 14 日
Is this the same question or a different question than http://www.mathworks.com/matlabcentral/answers/28624-error-using-256x256matrix
Neither of the questions has enough information about what has to be done for there to be a meaningful response.
This is for PSO, right?
回答 (1 件)
Sean Lawson
2012 年 2 月 14 日
Need to be more specific, like do you have special requirements for the entries that you want it to be 0's?
Simply put, a(i,j)==0 makes entry (i,j) in matrix a 0.
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!