how to write matrix size in matlab

h1 =1x255 logical
h3 = 1x255 logical
howto do bitxor of h1 and h3
h1 is converted into binary form and represented into column wise (1 to 255)
h3 is also converted into binary form and represented into column wise (1 to 255)
.how to represent h1 and h3 in matlab and do xor operation

4 件のコメント

madhan ravi
madhan ravi 2018 年 11 月 30 日
moni sinha
moni sinha 2018 年 11 月 30 日
Error using |
Matrix dimensions must agree.
how to correct it?
KSSV
KSSV 2018 年 11 月 30 日
Show us your code..so that we can rectify the error.
Jan
Jan 2018 年 11 月 30 日
Madhan is right: This is a duplicate question. Please, moni sinha, post a question only once to avoid confusing the readers and wasting the time of the ones, who try to help you.

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

回答 (1 件)

Preethi
Preethi 2018 年 11 月 30 日

0 投票

hi,
use
bitxor(h1,h3)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

質問済み:

2018 年 11 月 30 日

再開済み:

2018 年 12 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by