i have 2 matrices
9 次查看(过去 30 天)
显示 更早的评论
I have 2 matrices; Matrix A and Matrix B.
回答(1 个)
Image Analyst
2016-5-30
Why do you want to do this unusual and quirky thing? Is it your homework?
Hints: To find set B = 1 where A>=6 do this:
age6 = A >= 6
B(age6) = 1;
Another hint: Look at the mod() and rem() functions.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Array Geometries and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!