01-16-2012 10:24 PM
Hi all
Our aim is to form the Parity Check Matrix H of (4607*9215)(Row * Column)
How to form the parity check matrix H;
In H matrix , the position of one's are defined by the matrix below. All other positions are zero's.
When you open the text file you can find 4607 rows of values(starting from index 0).
For each row their respective column values have been given
ie., For each row their respective column values have to be made one.
In other words you can say for the 9215 columns that row 0 has only 6 column values have to be made one.
So following this procedure for all the 4607 rows we can get the Parity Check Matrix.
We have to read the text file in labview and from their procced. Someone send me a sample VI please
Regards
Solved! Go to Solution.
01-16-2012 11:41 PM
01-17-2012 01:08 AM
Thank you so much for your help.It works like a charm.your help came in the right time.
I was using "Read From Text File" function and converting it into byte array and couldn't get the Decimal value.
can you explain me how the Space Constant vi wired to Delimiter(/t) terminal works.
warm Regards
Temin
01-17-2012 01:37 AM
TAB (/t) is the default delimiter, as your data file had spaces, I had to use the space character that's all. It works similar to the 'text to columns' function in excel.
Excerpt from labview help:
delimiter is the character or string of characters to use to separate fields in the spreadsheet file. For example, a value of , (comma) specifies a single comma as the delimiter. The default is \t, which specifies a single tab character as the delimiter.
01-17-2012 02:13 AM
If I give a .xls file as input to the same Read From Spreadsheet vi of the same code its not working why???
The scrren shot of the .xls file I gave as input is attached below. Kindly reply.
Regards
Temin
01-17-2012 02:16 AM - edited 01-17-2012 02:17 AM
01-17-2012 02:21 AM
01-17-2012 05:02 AM
This link may be of help: http://forums.ni.com/t5/BreakPoint/Excel-Board/m-p/379682?jump=true