Questions tagged [scaling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
74 views

Fourier transform of time-scaled signum function

I have the signals $x_1(t)=\mathrm{sgn}(9t)$ and $x_2(t)=\mathrm{sgn}(t/5)$, where $\mathrm{sgn}$ denotes the signum function: $-1$ or $+1$ depending on the sign of the argument. I computed their ...
user avatar
  • 23
5 votes
1 answer
72 views

Algorithm that enlarges the image to a resolution of $2N \times 2N$ using DFT operations

I'm trying to solve the following question: Given an image at a resolution of $N \times N$. Describe an algorithm that enlarges the image to a resolution of $2N \times 2N$ using DFT operations. As I ...
user avatar
  • 243
1 vote
1 answer
49 views

Building the low pass filter in the wavelet scattering transform

In 1, analyzing the equivalence between MFCC and wavelet transform, the scaled wavelets are truncated for $\lambda < 2\pi Q/T$ to fit the time spread of the wavelets within the length $T$ of the ...
user avatar
  • 77
0 votes
0 answers
27 views

How to interpret a break in linearity when performing detrended fluctuation analysis?

I have time series with 1048 values and when I perform detrended fluctuation analysis on this time series (using the windows or scales of 2^4 to ...
user avatar
1 vote
0 answers
23 views

Calculate ScaleVlues of IIR Filter manually from sosMatrix of MATLAB

while using "design" in matlab to design filters, at the output we can see a ScaleValues matrix that is used to compensate for overflow problem. my question is that how this matrix is ...
user avatar
1 vote
1 answer
130 views

How to evaluate fixed-point implementation of LMS filter is correct?

I am having an LMS block with 6 filter coefficients. The value of filter coefficients are 0.0001 0.00045 0.2535 0.546536 0.0000243 0.3423 I have tried to ...
user avatar
  • 93
0 votes
3 answers
293 views

What's the minimum decibel value?

I'm trying to scale wave amplitude (0-1) to perceived loudness (still 0-1). The decibel scale seems to be unbounded. For my audio, the amplitude 1 represents a decibel $d$ - i.e. the audio is being ...
user avatar
-1 votes
2 answers
252 views

Time scaling of a shifted function

When we have say Delta at time $t_0$ on continuous time: $\delta(t-t_0)$. If we want to move it $t_0/2$, can we scale the time and squeeze by 2 instead of shifting? How does scaling in time of a ...
user avatar
0 votes
1 answer
72 views

Software-Emulated Amplifier: Cracking while change Volume

I'm developing a software emulated analog synthesizer in the style of Euro Rack Modules. I have a problem with the volume amplifier. Whenever I control the volume button via mouse/hand/manually ...
user avatar
  • 111
2 votes
1 answer
153 views

How to improve accuracy while converting floating point coefficients to fixed point in the case of an all pole IIR filter

I am having an all pole IIR filter of order 5 with floating point filter coefficients ...
user avatar
  • 93
3 votes
2 answers
266 views

Impulse response of a time scaling system

Assume a bandlimited signal $X(t)$. Given that the output for this signal is $X(t/2)$, what will be the impulse response $h(t)$ of such a system? \begin{array}{l} X( \omega ) \ =\ \int ^{\infty }_{-\...
user avatar
2 votes
3 answers
3k views

Time scaling and shifting of delta function

Learning signals and systems. Solving time scaling and shifting problems. For the question $$x(t) = u(2t - 1)$$ First we shift by 1 to the right side and then we do time scaling , i.e divide by 2 ...
user avatar
  • 25
0 votes
1 answer
407 views

Scaling of a rect function,drawing of signals

Im trying to understand on how the drawing of signals (time shifting,scaling...) works. This one example is confusing me, and a bit of help would be much appreciated. This is the starting Signal We'...
user avatar
  • 15
0 votes
0 answers
85 views

Audio time scaling using a phase vocoder

I've implemented audio time scaling using a phase vocoder approach because I wanted to answer this question here (and learn something in the process). Since that question has been closed, I may as ...
user avatar
  • 881
5 votes
3 answers
294 views

Pixel Binning: Effect on SNR for Hardware vs. Software Binning

Is there a difference in SNR (or any other measure of image quality) between using 2x2 pixel binning in the camera and shrinking the full resolution image in software (cv::INTER_AREA) to the same size ...
user avatar
  • 173
1 vote
3 answers
706 views

Whether $y(t) = x(t/3)$ is a memoryless system?

I am a newbie in signal and system, and feeling confused about the memoryless property, it says at the definition, if a system gives output only depends on present input, then its memoryless. So if at ...
user avatar
  • 11
0 votes
1 answer
231 views

Math.Net and alglib returning different FFT outputs by default

I am developing an application in C# with spectrogram drawing functionality. For my fist try, I used MathNet.Numerics, and now I am continuing to develop with alglib. When I changed from one to the ...
user avatar
10 votes
3 answers
3k views

why should I scale the fft using 1/N?

I am writing a report, and my advisor asked me to explain why I scale the fft by a factor 1/N (where N is the length of the array). I used to use the scaling convention of multipling the fft by the ...
user avatar
0 votes
1 answer
387 views

Correctly scaling FFT of different lengths

I have been looking at using two FFTs of different lengths and displaying the output magnitudes on the same graph (a shorter length window for the higher frequencies, and a longer one for lower ...
user avatar
  • 149
0 votes
1 answer
182 views

Inverse Fourier Transform Dirac impulse with scaled argument

Currently, I am dealing with the sampling problems and I don't understand how to calculate inverse Fourier transform of a scaling impulse function $\textrm{IFT}\{\delta(\Omega T)\} = ?$, $T$ is ...
user avatar
  • 3
1 vote
0 answers
220 views

Scaling issue after doing manipulations in FFT

I have two filters which must apply (in series) to same input data $x[n]$ e.g of length 256 (real time asio input buffers). One filter is e.g. an impulse response $h_1[n]$ of a speaker and other one ...
user avatar
  • 51
1 vote
0 answers
290 views

Why is noise a power signal?

1. I'm generating a power signal: ...
user avatar
  • 11
0 votes
1 answer
129 views

What's the right scale to represent a frequency spectrum?

To represent a 16 bits temporal spectrum, it's "easy" : my scale is going from -32000 to +32000. But What's the scale for a frequency spectrum ? I made that try : I calculated a pure single frequency ...
user avatar
  • 151
1 vote
1 answer
1k views

Overlap/add time-domain audio frames: How does normalization/scaling work with overlap greater than 50%?

I am attempting to overlap-add time-domain audio frames in a real-time context (with a continuous stream of data coming-in). Each frames consist of 1024 samples and have been previously "Hann" ...
user avatar
0 votes
1 answer
335 views

what is multiresolution

I have gone to wavelets course and up to my knowledge, changing the scale and translation of wavelets produces multiresolution images. is this correct or can someone tell me what is multiresolution ...
user avatar
0 votes
2 answers
417 views

How to scale a signal to get desired variance [duplicate]

I am new to dsp, and I'd really appricate it if someone please help me with this problem. I guess it's a basic simple question, but I cannot get it write. Here is the question: The variance of a ...
user avatar
  • 467
1 vote
0 answers
318 views

Correctly scaling Power Spectrum and Correlation Function of Galaxies from Mock Catalogues

I'm currently writing a code to compute the two-point correlation function of a set of galaxies. As I work with a loooot of galaxies, it was suggested to me not to do it in real space, but to compute ...
user avatar
  • 111
0 votes
1 answer
83 views

Most natural interpolation to simulate increasing distance?

Background: I'm generating multiple datasets with varying scales of resolution to simulate taking pictures from varying distances and then comparing image classification performances. For example ...
user avatar
  • 281
2 votes
3 answers
2k views

Theoretical Maximum of DFT

For any discrete input signal between +1 and -1, what is the theoretical maximum DFT? If the input is a cosine of $N$ samples with amplitude $A$, the peak spectral magnitude is $A*N/2$. But what ...
user avatar
1 vote
1 answer
1k views

Digital 16-bit PCM audio signal scaling and STFT spectogram amplitude

I'm sampling a 16-bit PCM audio signal at 44100 Hz and I'm trying to understand the amplitude level of both the digital audio signal and its corresponding spectrum. The final goal is creating audio ...
user avatar
0 votes
1 answer
611 views

How to upscale an image without affecting pixel aspect ratio?

For example, if we upscale an image from 100 x 100 to 400 x 300 then we see the pixel stretch in the image which I want to eliminate. The easiest way I could think is to crop the image to maintain ...
user avatar
  • 3
3 votes
1 answer
1k views

How to "scale" the FFT when using it to calculate discrete convolution?

As you probably know, the discrete convolution $ H = F \ast G $ of some $ F \left[ x \right] $ and some $ G \left[ x \right] $ can be calculated using the Fast Fourier Transform (FFT). To do this, ...
user avatar
  • 33
-1 votes
1 answer
281 views

signal saturation [duplicate]

My signal is an actuator displacement signal. It is a sinusoidal signal with the max amplitude of 10cm. I want to clip amplitude at 7 cm in Simulink. But with saturation block, I will get flat ...
user avatar
  • 1
1 vote
1 answer
2k views

What is the relationship between scales and frequency in a Morlet wavelet transform?

I'm using PyWavelets, with a complex Morlet wavelet. Its complex wavelet transform function requires scales as one of its parameters, rather than frequencies. However, I don't understand the ...
user avatar
4 votes
2 answers
91 views

Factor $|a|^{-1/2}$ in definition of mother wavelets

The mother wavelet is defined as $$\Psi_{a,\tau}(t) = \lvert a\rvert^{-1/2}\Psi\left(\frac{t-\tau}{a}\right)\tag{1}$$ in which the factor $$ \lvert a\rvert^{-1/2}\tag{2}$$ is supposed to serve ...
user avatar
  • 371
1 vote
1 answer
986 views

How do scaling of the coefficients for the poles of a biquad filter affect the gain?

Given a digital filter consisting of a chain of digital biquad filters. Given a digital biquad filter with a normalized Direct form 1 difference equation: $ y_n = b_0x_n + b_1x_{n-1}+b_2x_{n-2} - ...
user avatar
  • 113
1 vote
0 answers
2k views

Scaling factor of Discrete Fourier Transform [duplicate]

I am going through DFT basics. I found somwhere it is represented by the equation $$ x[n] \ \triangleq \ \sum_{k=0}^{N-1} \ X[k] \ e^{j 2 \pi nk/N} $$ $$ X[k] \ = \ \frac{1}{N} \sum_{n=0}^{N-1} \ x[...
user avatar
  • 181
1 vote
1 answer
60 views

Library/strategy for rotate & scale image alignment/registration

I have two raster images of maps, A and B. I know that B contains A but I do not know the scale or rotation. There should not be any other distortions between the image but there may be noise. ...
user avatar
2 votes
1 answer
335 views

Implementation of IIR Filter in dsPIC 33EP - Scaling

I have to implement an IIR controller in dsPIC 33EP (16-bit, fixed-point, two's complement, wrap-around, 40-bit accumulator, 32-bit multiply, 12-bit ADC) and I am using cascaded, Direct Form I second ...
user avatar
  • 33
1 vote
2 answers
148 views

Digital RF signal vector resize algorithm

I'm searching for an algorithm for resizing a RF sampled signal in order to draw it without losing any important maximum or minimum values. The values of the vector are negative/positive around zero.
user avatar
  • 19