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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

Answered
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....

10 years ago | 0

Answered
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;

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 2

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 1

| accepted

Answered
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...

10 years ago | 0

Answered
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);

10 years ago | 1

Answered
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

10 years ago | 0

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

10 years ago | 0

| accepted

Answered
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 =...

10 years ago | 0

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

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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

10 years ago | 0

Answered
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)...

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

Answered
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

10 years ago | 1

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

10 years ago | 1

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

10 years ago | 2

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

10 years ago | 0

Answered
Strings ASCII and character mapping Questions
doc char doc uint8

10 years ago | 0

| accepted

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

10 years ago | 0

Load more