Jasvinder Singh
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
I want to convert the following parity-check matrix into Generator matrix.
t= [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0; ...
5 years 前 | 1 个回答 | 0
1
个回答提问
I want to store all the outputs in a single matrix and also i want to select all the combination for which c has minimum and maximum value.
for a=1:5 for b=5:8 for c=1:20 if mod(a+b,c)~=0 t=[a,b,c] end ...
5 years 前 | 1 个回答 | 0
1
个回答提问
For J and L (J<L) I want to find that values of p and q which satisfy all the 7 conditions (mention in code) for each 0<=a<b<c<=J and 0<=d<e<f<=L
J=input('J: '); L=input('L: '); [a,b,c,d]=ndgrid(1:J,1:J, 1:L, 1:L); k=a<b & c<d; [a,b,c,d]=deal( a(k), b(k), c(k), d(k)...
5 years 前 | 0 个回答 | 0
0
个回答提问
For J and L (J<L) I want to find that values of p and q which satisfies mod(((i^b-i^a)*(i^d-i^c)),j)~=0 for all values of 0<=a<b<=J-1 and 0<=c<d<=L-1. If mod(((i^b-i^a)*(i^d-i^c)),j)==0 at any stage we break the loop and go for next values of p and q
J=input('Value of J: '); L=input('Value of L: '); for j = L:6; for i = 2:j-1; for a=0:J-1; for b=a+...
5 years 前 | 1 个回答 | 0