15,920,896 members
Home / Discussions / C / C++ / MFC

C / C++ / MFC

 Re: Streamin proc for Rich edit David Crow17-Jun-17 16:09 David Crow 17-Jun-17 16:09
 Re: Streamin proc for Rich edit ForNow17-Jun-17 16:28 ForNow 17-Jun-17 16:28
 ikspropertset declaring variable ksps Member 1326135415-Jun-17 5:58 Member 13261354 15-Jun-17 5:58
 Re: ikspropertset declaring variable ksps Richard MacCutchan15-Jun-17 6:13 Richard MacCutchan 15-Jun-17 6:13
 Re: ikspropertset declaring variable ksps Member 1326135415-Jun-17 8:35 Member 13261354 15-Jun-17 8:35
 Re: ikspropertset declaring variable ksps Richard MacCutchan15-Jun-17 8:49 Richard MacCutchan 15-Jun-17 8:49
 Re: ikspropertset declaring variable ksps jeron116-Jun-17 5:31 jeron1 16-Jun-17 5:31
 How to make LDPC parity check matrix H from non-systematic to systematic in C/C++ Member 1326117515-Jun-17 1:42 Member 13261175 15-Jun-17 1:42
 ```Hi, I am working LDPC encoding and decoding for hardware implementation.Through Vivado HLS, I need to transform a parity-check matrix H (that only consists of ones and zeros) from a non-standard to a standard form through C/C++ programming language. Here below you may find samples of non-standard parity check matrices in which Gauss-Jordan elimination (over GF(2)) can be applied. Initially, i am trying encoding part via C/C++ programming logic. please help me if you do have any idea about LDPC. I would need a method that works out with matrices of any dimension. this is, express it as Hsys = [I| P] This is my H matrix H=[1 1 0 0 1 0 1 0 0 1 0 1 1 1 1 0 0 1]; Expected Systematic H matrix Hsys=[1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1];``` ```int main() //THIS CODE WORKS ONLY FOR THE GIVEN MATRIX BUT I NEED A METHOD THAT WORKS OUT WITH MATRICES OF ANY DIMENSION { // encoding int i,j; int message; int H_Matrix[3][6]={{1,1,0,0,1,0},{1,0,0,1,0,1},{1,1,1,0,0,1}}; int temp[3][6]={0}; for(j=0;j<6;j++) { temp[1][j]=(H_Matrix[1][j]^H_Matrix[0][j]); H_Matrix[1][j] = temp[1][j]; temp[2][j]=(H_Matrix[2][j]^H_Matrix[0][j]); H_Matrix[2][j] = temp[2][j]; temp[0][j]=(H_Matrix[0][j]^H_Matrix[1][j]); H_Matrix[0][j] = temp[0][j]; } for(i=0;i<3;i++) { for(j=0;j<6;j++) { printf("%d\t ",H_Matrix[i][j]); } printf("\n"); } }```
 Dynamically create memory based on 2 different struture templates manoharbalu14-Jun-17 1:19 manoharbalu 14-Jun-17 1:19
 Re: Dynamically create memory based on 2 different struture templates Richard MacCutchan14-Jun-17 4:32 Richard MacCutchan 14-Jun-17 4:32
 Re: Dynamically create memory based on 2 different struture templates manoharbalu14-Jun-17 20:27 manoharbalu 14-Jun-17 20:27
 Re: Dynamically create memory based on 2 different struture templates Richard MacCutchan14-Jun-17 22:40 Richard MacCutchan 14-Jun-17 22:40
 Re: Dynamically create memory based on 2 different struture templates manoharbalu14-Jun-17 22:44 manoharbalu 14-Jun-17 22:44
 Re: Dynamically create memory based on 2 different struture templates Richard MacCutchan14-Jun-17 23:18 Richard MacCutchan 14-Jun-17 23:18
 Re: Dynamically create memory based on 2 different struture templates manoharbalu15-Jun-17 0:34 manoharbalu 15-Jun-17 0:34
 Re: Dynamically create memory based on 2 different struture templates Richard MacCutchan15-Jun-17 1:11 Richard MacCutchan 15-Jun-17 1:11
 Re: Dynamically create memory based on 2 different struture templates leon de boer15-Jun-17 8:06 leon de boer 15-Jun-17 8:06
 Re: Dynamically create memory based on 2 different struture templates manoharbalu15-Jun-17 19:54 manoharbalu 15-Jun-17 19:54
 Re: Dynamically create memory based on 2 different struture templates leon de boer16-Jun-17 4:14 leon de boer 16-Jun-17 4:14
 Value for a structure is not showing in watch window in VS2008 manoharbalu12-Jun-17 1:14 manoharbalu 12-Jun-17 1:14
 Re: Value for a structure is not showing in watch window in VS2008 Richard MacCutchan12-Jun-17 6:26 Richard MacCutchan 12-Jun-17 6:26
 Re: Value for a structure is not showing in watch window in VS2008 manoharbalu12-Jun-17 19:14 manoharbalu 12-Jun-17 19:14
 Re: Value for a structure is not showing in watch window in VS2008 leon de boer12-Jun-17 20:57 leon de boer 12-Jun-17 20:57