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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 2

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

Beantwortet
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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

Beantwortet
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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

Beantwortet
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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 2

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

mehr als 11 Jahre vor | 0

Beantwortet
Strings ASCII and character mapping Questions
doc char doc uint8

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

Mehr laden