Questions tagged [floating-point]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
7answers
2k views

Why is there no FPU on (most) DSP chips?

Why is there no FPU (Floating Point Unit) on most DSP chips? I found several answers such as this one that explain advantages of fixed point approach such as smaller power consumption, higher speed ...
0
votes
0answers
22 views

PSNR calculation with float arrays

The PSNR definition provided by wikipedia is often quoted in discussions regarding PSNR and other similarity metrics. Essentially the PSNR calculation has two components: the mean squared error and ...
1
vote
2answers
337 views

Conversion from Floating point representation to Fixed point representation

I have written a matlab function for a constellation mapper and I want to create a Fixed-point version of that code for implementation on FPGA. I know matlab has a specific toolbox for fixed-point ...
3
votes
1answer
1k views

Finding a signal inside another signal

I have a 1D array of 32 bit floating point numbers representing the current draw of a radio operating over a 40 minute span. The number of elements in the array is 29 million and change. There is a ...
0
votes
2answers
52 views

Audio Bit Depth “mapping” from DAW to Audio card: is this correct?

Let say I'm generating a 1 kHz sine wave within my DAW, using some synth (Sytrus in my case). I normalize it, so it play at max "digital" amplitude 0db. Thus, any sample of the signal would gets a ...
1
vote
2answers
484 views

Artifacts signal conversion from float to integer

I have a script where i want to change the noise floor to about 96 dB (visual purpose). The script containing basically a sine wave with after wart do FFT over it. The script is in python and as ...
1
vote
1answer
357 views

How to convert floating point code to fixed point?

I am working on converting a floating point MATLAB code into fixed point C code. The code is to be run on a DSP platform, the specifics of which are yet to be decided. I'm new to floating point to ...
0
votes
1answer
42 views

Basic question on numerical precision [closed]

I appreciate this opportunity to submit a query on this forum. When studying the continuous-time & discrete-time distinction, specifically with reference to discrete signals being identical when ...
2
votes
0answers
1k views

Applying a FIR filter to floating point array c# [closed]

I have designed using MATLAB a FIR filter with some coefficients. I have an array that is normalized to -+1. The array is float. I used this method to apply the FIR to the array but I'm not sure if ...
1
vote
1answer
3k views

Downsampling PCM Audio

I'm looking everywhere for solutions for audio downsampling. However for one reason or another they are incomplete, sometimes buggy, and sometimes are in a programming language I cannot understand. ...
1
vote
0answers
94 views

DSP implementation recommended bibliography (good books-material related to fixed/floating point-optimization) [closed]

I am doing my first steps in embedded systems and there is a big deal of fixed point code and of course DSP optimized code.I would like please if possible to recommend any book/material related to ...
2
votes
2answers
257 views

In image compression using transforms, how to deal with the transformed coefficients as they are not integers?

I am new to the field of image compression. While going through various texts, I read about how transforming the image to another domain using, for example, the wavelet transform, or the DCT, makes it ...
5
votes
1answer
13k views

Understanding Q formats

I have some misunderstandings with Q format. Please help me in understanding this. If I say Q8 [unsigned] then there will be $8$ fractional bits. Is it ? How can I represent a $1$ and $1.5$ in this ...
1
vote
2answers
357 views

Does it really take 6 minutes and 20 seconds to properly fade-out a single precision audio signal?

Update This question is purely theoretical and should not account for any psychoacoustic effects, or practical implementations. Perhaps the question should be rephrased to "How long will it take to ...
7
votes
1answer
2k views

How to avoid denormalized numbers?

The same floating-point AMD X86-64 digital signal processing system mentioned in my previous question has a problem where it sometimes slows down substantially when signals attain values very near (...