i am new in MATLAB.
for a purpose i need a matlab script of generationg binary number.
i am giving input in a M-FSK modulator in the blockset, so i need an input which will give me specific binary number that i want to give.
can anyone help me about this?? very urgent plz............
First you select format of binary number by using command "quantizer" then use "num2bin(quantizer_value,number_to_convert)" command.
For example try below :
x = 7.125;
q = quantizer([4 12]);
x_in_binary = num2bin(q,x);