01-09-2012 11:39 AM
hi everybody
i have read the last few posts regarding PN sequence but could not be able to get satisfactory answer so i am again writing the same question which is being asked for 3 to 4 times
i need to generate PN sequence of any order ranging from 0 to 7
please tell me how i can do that?
regards
aqib
college of aeronautical engineering
risalpur
pakistan
Solved! Go to Solution.
01-09-2012 11:56 AM
Get the time, convert it to double type (from time stamp numeral type). Get the modulo 7 of the double number. This is standard way in any programming book. Is this the way its explained elsewhere?
01-10-2012 12:44 AM
but by using this method numbers are increasing in incremental order whereas i want random generation of numbers between 0 and 7
01-10-2012 03:18 AM
Use random number generator and scale the output to 0 to 7