Respondida
How do ı calculate the harmonics by inspecting the signal in matlab?
dt = t(2) - t(1); Fs = 1/dt; pwelch(gf,[],[],[],Fs);

casi 12 años hace | 0

Respondida
How to apply time reversal convolution?
Yn = conv(Hn,Xn);

casi 12 años hace | 0

Respondida
Reflecting impulse response with respect to y-axis
n = -3:0; h = fliplr(Hn); stem(n,h);

casi 12 años hace | 0

| aceptada

Respondida
How do I plot this to display a spectrum?
x = wavenumber; y = transpose(squeeze(ref_raw)); plot(x,y);

casi 12 años hace | 0

| aceptada

Respondida
Help for AND circuit
Please type xInitial = 0; at the MATLAB command prompt, and then try running the model. That should eliminate the er...

casi 12 años hace | 0

| aceptada

Respondida
FFT is off by 0.4 dB; How can I account for this in my code?
* <http://www.mathworks.com/help/signal/ref/periodogram.html periodogram> * <http://www.mathworks.com/help/signal/ref/pwelch....

casi 12 años hace | 0

Respondida
How can I graph an equation with 'changing constant' values?
Equation = @(x,y) Constant + 10 + 90*(x>=3) + 900*(x>=6) + 5.*x + 5.*y;

casi 12 años hace | 0

| aceptada

Respondida
Help with Vectors and For Loops and determining whether it's negative or positive?
doc for doc numel doc size docsearch('"logical indexing"') doc false doc true docsearch('"preallocating ar...

casi 12 años hace | 0

| aceptada

Respondida
Why does FFT subtract PI/2 phase shift for sine wave
Think of it this way. Cosine is the real-part of the complex exponential, whereas sine is the real-part of the complex exponent...

casi 12 años hace | 2

| aceptada

Respondida
FFT function in matlab
Neither. It is a straight implementation of the definition of the DFT. Depending on how you choose to scale the result, you ca...

casi 12 años hace | 0

Respondida
Is there a way to display(or know), whether the signal flowing through a line in a simulink model is complex or real ?
* <http://www.mathworks.com/help/simulink/ug/working-with-data-types.html#f14-90571 Display Port Data Types> * <http://www.math...

casi 12 años hace | 1

| aceptada

Respondida
generating a half wave sinusoid using Simulink
Try feeding the output of the *Sine Wave* block to the input of a *<http://www.mathworks.com/help/simulink/slref/saturation.html...

casi 12 años hace | 0

Respondida
Creating a matrix of sinusoids with frequency increasing over columns and time increasing over rows
Fs = 48000; dt = 1/Fs; t = (0:dt:0.25-dt)'; Fc = 60*(1:2:15); y = sin(2*pi*t*Fc);

casi 12 años hace | 1

Respondida
What are new things in error-control coding functions in R2014a? I am using R2011b now.
Please review the <http://www.mathworks.com/help/comm/release-notes.html Release Notes> for the Communications System Toolbox

casi 12 años hace | 0

Respondida
Creating a simple plot
Use |.*| instead of |*| here: y = x.*exp(-x.^2); Also, you will want higher resolution: x = -3:0.01:3;

casi 12 años hace | 0

| aceptada

Respondida
define frequency of signal from fft output
Please try: Fs = 1000; dt = 1/Fs; N = 12000; t = dt*(0:N-1)'; x = sin(100*pi*t) + 2*cos(200*pi*t); X =...

casi 12 años hace | 0

Respondida
define frequency of signal from fft output
dF = Fs/N; f = dF*(0:N-1)';

casi 12 años hace | 0

| aceptada

Respondida
Why do many MATLAB examples model stock price returns instead of absolute changes?
Suppose you own a portfolio containing two stocks, with a total value of $5,000 each. Suppose further that the price of one sto...

casi 12 años hace | 0

| aceptada

Respondida
Hi! can you guide me to plot power spectra of ASK signal?
Here's a start: Tb = 1; % seconds per bit R = 1/Tb; % bits per second M = 100; % bi...

casi 12 años hace | 0

Respondida
How can i implement fft on sine wave then plot it ?
doc sin doc cos doc fft doc fftshift doc abs doc plot doc stem

casi 12 años hace | 0

Respondida
Using iirnotch for more than one frequency?
Fs = 960; Fc = [ 120 240 ]; Wc = Fc/(Fs/2); BW = Wc/35; mycomb = zeros(2,6); [b,a] = iirnotch(Wc(1),BW(1)...

casi 12 años hace | 0

| aceptada

Respondida
i want to know frequency from amplitude of an EEG
doc pwelch doc spectrogram

casi 12 años hace | 0

Respondida
Comb filter to remove noise?
|<http://www.mathworks.com/help/dsp/ref/iirnotch.html iirnotch>|

casi 12 años hace | 0

| aceptada

Respondida
1D Fourier Transform for square pulse
doc zeros doc ones doc fft doc imag doc real doc plot

casi 12 años hace | 0

Respondida
A script that writes all even numbers from 1 to 100
In addition to doc for doc while please try doc linspace and doc colon

casi 12 años hace | 1

Respondida
MATLAB HELP to write a function.
Here's a start: x = pi/4; ideal = cos(x); approx = 1; k = 0; while ( abs(approx - ideal) > ... ) ...

casi 12 años hace | 1

Respondida
How to change scatter plot fonts
set(h1,'marker','*'); set(h2,'marker','+');

casi 12 años hace | 2

Respondida
Combining 2 signals into 1
Please try: plot(n,xn,n,ns); For more info: >> doc plot

casi 12 años hace | 0

Respondida
Strings ASCII and character mapping Questions
doc char doc uint8

casi 12 años hace | 0

| aceptada

Respondida
Fourier transform with both time vector and data vector
doc pwelch

casi 12 años hace | 0

Cargar más