mardi 7 avril 2015

How to write a binary matrix with fixed point elements in matlab?


Vote count:

0




I want to write a matrix 25 by 8 with each column represent a bit value and also want to make it a fixed point binary representation i.e. i want to write binary in decimal as



0000.1000 = .5 so in this expression the binary fixed point is at mid
So like wise a matrix
s=[0000.1000;
0000.0100;
........
.....
0000.1100]


I want to keep this format for the whole matrix or something like that and also whos command will show me the class as binary. Thanks



asked just now







How to write a binary matrix with fixed point elements in matlab?

Aucun commentaire:

Enregistrer un commentaire