I have 2 matrices; Matrix A and Matrix B.

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 30 日
This is not clear

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2016 年 5 月 30 日

0 投票

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.

カテゴリ

質問済み:

2016 年 5 月 30 日

編集済み:

2016 年 6 月 1 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by