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

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 Exchange에서 Matrix 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