DERNI BRAHIM
Followers: 0 Following: 0
a=[1 2 3 4;-2 -4 3 4;7 8 9 4];
[c,v]=size(a);
n3=c*v;
word_len=5;
data = reshape(a', n3, 1);
databin= fi(data,1,5);
h=bin(databin)
Statistica
0 Domande
3 Risposte
RANK
97.980
of 295.673
REPUTAZIONE
0
CONTRIBUTI
0 Domande
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
RANK
of 154.257
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Does DEC2HEX or HEX2DEC work on negative numbers (twos complement)?
suppose that we want to represent the decimal value x in hexadecimal with n bits so x=input value ; if x<0 hex=dec2hex(16^...
oltre 5 anni fa | 0
How we can convert negative float value into binary in matlab? Is there any direct command for this?
you can use this script matlab for example if we are a vector a .if we want to convert elements to binary and make result in...
circa 7 anni fa | 0
How can I convert a negative integer to a binary string, in other words, how can I find Two's Complement in MATLAB?
you can do this script if your vector DATA is a and you want to convert if to binary and make it linear use this script: ...
circa 7 anni fa | 0