Beantwortet
Piecewise linear fit without interpolating between every two points
The Signal Processing Toolbox R2016a has this capability. See FINDCHANGEPTS

etwa 10 Jahre vor | 0

Beantwortet
How to display and save rise time, maximum overshoot and settling time
The Signal Processing Toolbox contains the following functions: risetime falltime overshoot undershoot settling...

etwa 10 Jahre vor | 0

Beantwortet
DTW(Dynamic Time Warping Algorithm)
An unconstrained version of DTW is now in the Signal Processing Toolbox

etwa 10 Jahre vor | 0

Beantwortet
How to shift curves and select appropriate peak y-axis values
If you have a relatively recent copy of the Signal Processing Toolbox, have a look at the function "findpeaks". Try setting the...

etwa 10 Jahre vor | 0

Beantwortet
I need to input varying frequency in sine wave how can i do that?
Try looking at the function "vco" in the Signal Processing Toolbox

etwa 10 Jahre vor | 0

Beantwortet
How to find occupied bandwidth
You have a fair amount of noise power, which is swamping your measurement. To see what I mean try (assuming your spectrum is a ...

etwa 10 Jahre vor | 0

| akzeptiert

Beantwortet
How to get Greek letters in text in an IMAGE using Inserttext?
Not sure what version of MATLAB you have, but you can try unicode. Does char(945) work for you? sprintf('%s',char(945))

etwa 10 Jahre vor | 0

Beantwortet
Using the spectrogram function to analyse harmonic content
This plots the first 20 or so harmonics: [y,fs] = audioread('Trumpet_C4.wav'); fund = 262; spectrogram(y(1:20000),kai...

etwa 10 Jahre vor | 0

Beantwortet
how to calculate root means square error of two analog signals
try: rms(sig1 - sig2)

etwa 10 Jahre vor | 0

Beantwortet
Filtering peaks to find number of pulses
It looks like you are using FINDPEAKS to find the flat parts of pulses. This might not be the right approach, but in a pinch, y...

mehr als 10 Jahre vor | 1

Beantwortet
MinPeakProminence option in findpeaks function absent in Linux versions
The <http://www.mathworks.com/help/signal/release-notes.html Signal Processing Toolbox Release Notes> indicate that this functio...

mehr als 10 Jahre vor | 0

Beantwortet
Time vector returned by spectrogram
The time instants are roughly those in the _center_ of each window used for the spectrum. The time between estimates is the dif...

mehr als 10 Jahre vor | 0

Beantwortet
bandpower, why doesn't percentage power add up?
Looks like you're double-counting frequencies. Try this instead: function output = balance_power_test(data) %Calc...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
Finding a maximum signal variation in MATLAB
You could also try envelope: envelope(data-mean(data),20000,'rms') rmsEnv = envelope(data-mean(data),20000,'rms'); en...

fast 11 Jahre vor | 0

Gelöst


Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...

mehr als 11 Jahre vor

Beantwortet
Peak finder - finding major peaks instead of just the smaller ones
You can do: findpeaks(y,'NPeaks',5,'SortStr','descend') This gets you the five with the largest amplitude. If you wan...

mehr als 11 Jahre vor | 1

Beantwortet
How can I take the values of one array, map the values as indices to another array, then generate a thrid array with the sum of former's elements??
You can use ACCUMARRAY. ACCUMARRAY is designed to take column vectors, not row vectors. So use this: accumarray(A(:),B(:)...

mehr als 11 Jahre vor | 1

| akzeptiert

Beantwortet
how to use 'pskmod'
You'll want to convert from integer to double precision first. txpsk = pskmod(double(msg),M);

mehr als 11 Jahre vor | 0

Beantwortet
Computation of mean and standard deviation after supressing NaNs of an array
You can use mean(x,'omitnan') in R2015a. If you have the Statistics Toolbox, you can use nanmean. Otherwise, try this: ...

mehr als 11 Jahre vor | 0

Beantwortet
How to find the highest peaks in an audio signal?
Try something like this to get you started: y = audioread('U1_S1_T1.wav') yLeft = y(:,1); yrmsenvLeft = sqrt(conv(yLe...

mehr als 11 Jahre vor | 2

| akzeptiert

Beantwortet
Why is noise required to get expected Magnitude Squared Coherence (mscohere)
You might be thinking of CPSD instead of MSCOHERE. MSCOHERE will normalize CPSD by the PSD of each signal (i.e. Cxy = (abs(Pxy)...

mehr als 11 Jahre vor | 1

| akzeptiert

Beantwortet
Fast solver for linear system Ax=b when only x(1) is needed
This seems to work o.k.-ish. det(A(2:end, 2:end)) / det(A) I have no idea how well it compares against the backslash opera...

mehr als 11 Jahre vor | 0

Beantwortet
Simulink: How to set parameters of AWGN Channel Block ?
Hi Ruozhu, You can adjust the reference impedance of the Spectrum Analyzer by going to the "Spectrum Settings" dialog, under ...

mehr als 11 Jahre vor | 0

| akzeptiert

Beantwortet
Need an example for calculating power spectrum density
Hi Stefan, Thanks for the data set. Here's an idea to get you started. % RRintervals is a list of the intervals between...

fast 12 Jahre vor | 0

| akzeptiert

Beantwortet
Need an example for calculating power spectrum density
Hi Stefan, There are numerous programs on MATLAB Central's File Exchange that can extract various features from ECG waveforms...

fast 12 Jahre vor | 0

Beantwortet
resample lacks appropriate lowpass filtering
I think resample has a higher cutoff frequency to admit more of the Nyquist range. If I'm interpreting your plot correctly, DEC...

etwa 12 Jahre vor | 0

Beantwortet
How do I normalize this signal
Since your peaks appear well-defined and are spaced far enough apart, I would suggest estimating the baseline by using medfilt1(...

etwa 12 Jahre vor | 1

Beantwortet
Peak to Peak Distance Help
It looks like you don't have the Signal Processing Toolbox. You get that error when you try accessing a function that doesn't...

mehr als 12 Jahre vor | 0

Beantwortet
Find pulse width and cycle & .mfile read/plot
Based upon your second and third pictures, it seems your signal has a low level of 0 and reaches an amplitude of at least 0.5 fo...

fast 14 Jahre vor | 0