Luke Waller
自 2019 起处于活动状态
Followers: 0 Following: 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 ...
5 years 前 | 1 个回答 | 0