photo

DERNI BRAHIM


Last seen: 5 years ago Active since 2017

Followers: 0   Following: 0

Message

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)

Statistics

MATLAB Answers

0 Questions
3 Answers

RANK
100,140
of 300,338

REPUTATION
0

CONTRIBUTIONS
0 Questions
3 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
0

RANK
 of 20,922

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,149

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • First Answer

View badges

Feeds

View by

Answered
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^...

6 years ago | 0

Answered
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...

8 years ago | 0

Answered
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: ...

8 years ago | 0