統計
MATLAB Answers
0 質問
1 回答
ランク
of 171,413
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
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
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
約6年 前 | 0
