Feeds
질문
I want to copy the rows of G1 to G2 in inner for loop but error occurs , please help
G1 = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1; 0 0 0 ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
As value of a decrease , M is computed in for loop and G2 is generated having rows equal to M, than i want to copy G1 rows portion equal to size of M to G2 in each iteration of for loop from maximum row to minimum,
G1 = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1; 0 0 0 ...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
i want to use nchoosek command in FOR loop in decreasing order for decoding process, it works in increasing order in FOR loop for encoding , Any suggestions
m=4; r=4; %%%%%%%%%%%%%%%%%%% for a=r:2 v=1:1:m; % Making combinations in decreasing order, but it is n...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Given two positive integers n and k, print all increasing sequences of length k such that the elements in every sequence are from first n natural numbers.
Input: k = 2, n = 3 Output: 1 2 1 3 2 3 Input: k = 5, n = 5 Output: 1 2 3 4 5 Input: k = 3, n = 5 Ou...
7년 초과 전 | 답변 수: 0 | 0