Questions tagged [spectrum]

The frequency domain of a wave-like function.

Spectrum refers to the full range of all frequencies of electromagnetic radiation. Spectrum has since been applied by analogy to topics outside of electromagnetic radiation. For a complete discussion, see the Wikipedia Spectrum article

389 questions
0
votes
0 answers

Mathcad to Matlab - random processes and NPS

I'm trying to convert a simple Mathcad file into MATLAB script but results I get are just weird. Is there some kind of difference in rand functions? Am I forgetting something essential that differs those two environments? This is how the Mathcad…
Warner
  • 23
  • 3
0
votes
0 answers

Calculating the spectral energy of a signal in java?

Im trying to get the spectral energy of a signal in java. I know by theory that the energy is the sum of absolute value square of the coefficient. What I've done so far is to transform my input data by FFT using JTransforms. The result is array of…
0
votes
2 answers

How to calculate the energy spectrum of a signal?

I know by theory that the energy spectrum of a given signal is the sum of the squared fourier coefficient. What if I have the real and imaginary part of the corresponding fourier coefficient, can I say that energy spectrum of a given signal is…
0
votes
0 answers

Ember spectrum color picker (change background)

I am strulling for a while to make this component working: https://www.npmjs.com/package/ember-spectrum-color-picker Code so far: import SpectrumColorPickerComponent from 'ember-spectrum-color-picker/components/spectrum-color-picker'; export…
ffs
  • 23
  • 4
0
votes
1 answer

Plotting multiple spectra with different colors in a hyperSpec object

I'm trying to plot multiple spectra on the same plot with each spectrum having different colors. I use a 'hyperSpec' object from the hyperSpec package and ggplot2. My data set is pretty big, but a portion of it looks like this: > dataTable …
0
votes
1 answer

Time changes in power spectrum on certain frequencies [MATLAB]

I would like to evaluate power spectrum (amplitude) changes in several tens of seconds length sound record, only on some chosen frequencies. The sound has spectrum like this (mobile phone app analysation): I want to plot time changes in only some…
vicki
  • 1
0
votes
2 answers

Plotting Frequency Spectrum using Matlab with hold function

Suppose I have successfully generated a Single-sided Power spectrum as follows: X_mags = abs(fft(signal)); bin_vals = [0 : N-1]; fax_Hz = bin_vals*fs/N; N_2 = ceil(N/2); plot(fax_Hz(1:N_2), 20*log10(X_mags(1:N_2)));` now I want to plot a second…
user3488736
  • 109
  • 1
  • 3
  • 13
0
votes
1 answer

jQuery Colorpicker add multiple color pallettes in one div

I am using Spectrum Colorpicker and need to add multiple colorpicker pallettes in one div. By default it has to show only one colorbox, onclick of +add it has to add one more colorbox and so on... Thanks in Advance for your help, My HTML Code: