i have 2 matrices
Show older comments
I have 2 matrices; Matrix A and Matrix B.
1 Comment
Azzi Abdelmalek
on 30 May 2016
This is not clear
Answers (1)
Image Analyst
on 30 May 2016
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.
Categories
Find more on Array Geometries and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!