MATLAB Answers

how to write matrix size in matlab

4 views (last 30 days)
moni sinha
moni sinha on 30 Nov 2018
Reopened: Walter Roberson on 20 Dec 2018
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 Comments

Show 1 older comment
moni sinha
moni sinha on 30 Nov 2018
Error using |
Matrix dimensions must agree.
how to correct it?
KSSV
KSSV on 30 Nov 2018
Show us your code..so that we can rectify the error.
Jan
Jan on 30 Nov 2018
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.

Sign in to comment.

Answers (1)

Preethi
Preethi on 30 Nov 2018
hi,
use
bitxor(h1,h3)

  0 Comments

Sign in to comment.