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

대략 10년 전 | 0

답변 있음
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...

대략 10년 전 | 0

답변 있음
DTW(Dynamic Time Warping Algorithm)
An unconstrained version of DTW is now in the Signal Processing Toolbox

대략 10년 전 | 0

답변 있음
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...

대략 10년 전 | 0

답변 있음
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

대략 10년 전 | 0

답변 있음
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 ...

대략 10년 전 | 0

| 수락됨

답변 있음
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))

대략 10년 전 | 0

답변 있음
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...

대략 10년 전 | 0

답변 있음
how to calculate root means square error of two analog signals
try: rms(sig1 - sig2)

대략 10년 전 | 0

답변 있음
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...

10년 초과 전 | 1

답변 있음
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...

10년 초과 전 | 0

답변 있음
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...

거의 11년 전 | 0

답변 있음
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...

거의 11년 전 | 1

| 수락됨

답변 있음
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...

거의 11년 전 | 0

문제를 풀었습니다


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

11년 초과 전

답변 있음
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...

11년 초과 전 | 1

답변 있음
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(:)...

11년 초과 전 | 1

| 수락됨

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

11년 초과 전 | 0

답변 있음
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: ...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 2

| 수락됨

답변 있음
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)...

11년 초과 전 | 1

| 수락됨

답변 있음
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...

11년 초과 전 | 0

답변 있음
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 ...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

| 수락됨

답변 있음
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...

대략 12년 전 | 0

답변 있음
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...

대략 12년 전 | 0

답변 있음
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(...

대략 12년 전 | 1

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

대략 14년 전 | 0