Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void czestotliwosc(int p){
- long df = f_s >> 11; // dzielenie przez 2048
- df = ((df << 15) + (1 << 14)); //format Q15
- int f_maks = (int)((p*df) >> 15);
- printf("Częstotliwosc znalezionego maksimum wynosi: ");
- printf("%d \n", f_maks);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement