統計
MATLAB Answers
1 質問
0 回答
ランク
of 171,134
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
I'm trying to create a binary to unary encoding converter. However I am getting stuck on one of the final loops. Which should print out the number of ones for the positional value. After this I plan on adding the resulting matrices together.
A=[1 0 1]; l=length(A); un = zeros(1, l); for N = 1:l %position is (N-1) % B=A(N:end); ignore ...
約7年 前 | 1 件の回答 | 0