jayanth.devarayanadurga
Banned
- Joined
- Dec 4, 2012
- Messages
- 4,280
- Helped
- 822
- Reputation
- 1,654
- Reaction score
- 791
- Trophy points
- 1,393
- Location
- Bangalore, India
- Activity points
- 0
Are both arrays have the same size? If not, you have to use sizek = (sizeof(k)/sizeof(float)); and sizej = (sizeof(j)/sizeof(float));
if freq = 12320 then
k[2] which is 12319 is < 12320
and
j[2] which is 12340 is > 12320
So, k[2] and j[2] are the boundries.
k[2]<freq<j[2]
Is this what you want?
if freq = 12320 then
k[2] which is 12319 is < 12320
and
j[2] which is 12340 is > 12320
So, k[2] and j[2] are the boundries.
k[2]<freq<j[2]
Is this what you want?