![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/12874016_1526796470717_DEF.jpg)
prince kumar
Followers: 0 Following: 0
Statistics
0 Questions
1 Answer
RANK
262,897
of 293,506
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20,035
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
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
Feeds
Converting binary to decimal and vice versa, please help!!
n=input('input binary no.='); n=int2str(n); s=0; for i=1:numel(n) s=s+(str2num(n(i))*(2.^(numel(n)-i))); end s
5 years ago | 0