hodahussein
Full Member level 2
dear all
i have matrix 45*67 in matlab,each element represented by 8bit, i want to convert it to hex so by using dec2hex this matrix converted to 3015*2 OK, but i need to anding(loicg and) it with 0xF0 to obtain higher bits or how can i remove lower bits?
could any one help me ?
wait your reply
regards
i have matrix 45*67 in matlab,each element represented by 8bit, i want to convert it to hex so by using dec2hex this matrix converted to 3015*2 OK, but i need to anding(loicg and) it with 0xF0 to obtain higher bits or how can i remove lower bits?
could any one help me ?
wait your reply
regards