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!