photo

Daniel M


Last seen: plus de 3 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • Thankful Level 3
  • First Review
  • 3 Month Streak
  • Pro
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
How can I count the number of times a specific value appears within a range in a 1D vector?
sum(x(151:end) == 1)

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
FFT of Unsteady Temperature Data Resulting a Peak at 0 Hz
Data looks fine. You shoud plot using semilogy to better visualize the higher frequencies. Your data shows a typical 1/f noise p...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
table on workspace isn't recognized as table
The issue is that you likely added the entire Fieldtrip toolbox to your path, which is not recommended. I am currently using Fie...

plus de 4 ans il y a | 0

Réponse apportée
Insufficient number of outputs from right hand side of equal sign to satisfy assignment error in fieldtrip toolbox
Fieldtrip does not recommend adding the whole toolbox to your path. Just run the function ft_defaults.m and it will do it proper...

plus de 4 ans il y a | 0

Réponse apportée
Plotting spectrogram for EEG data
You should plot the absolute value of your output from spectrogram or stft. Maybe even the log, or 10*log10 too (but I don't rec...

plus de 4 ans il y a | 0

Réponse apportée
Choosing window for stft function
There is no single correct way of doing this. All windows will have their different spectral leakage profiles, and they're all u...

plus de 4 ans il y a | 0

Réponse apportée
EEG-Recording in two separate files
You shouldn't try to simply concatenate them in time because there will be a discontinuity between the end of the first dataset ...

plus de 4 ans il y a | 0

Question


Synchronize scrolling in Left/Right view of editor
When using the editor to view multiple panes, is there a way to sync the scrollbars so they scroll together? I'm not trying to ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Gaussian fit to xy data and extracting FWHM
This is because of the slightly different way cftool has defined the gaussian equation for the fit, and it ends up multipling th...

presque 5 ans il y a | 8

| A accepté

Réponse apportée
notch filter to remove 50Hz fundamental frequency and its second (100 Hz) and third (150Hz) harmonics. with using filter(),
'ecg' is the name of a function in the example: MATLAB/Examples/R2019a/dsp/FindHeartRateUsingPeakFinderPanelWithECGInputSignalE...

presque 5 ans il y a | 0

Réponse apportée
cross correlation between complicated signals and measure the delay between them
You can use the following code to get the time delay between two signals: clearvars close all clc [y1,fs1] = audioread('im...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
How do you design your ECG bandpass?
Hi Stephan, here is a script that creates some filters and view them. You may often find that creating filters using the transfe...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to remove specific colour from "surf" plot?
I don't have this dscatter function, but here is an example of how to do this with imagesc (which is similar enough that you cou...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Phase lag between two signals
Here's what I came up with using xcorr. It calculates that Signal 2 lags behind Signal 1 by 179.6 degrees. clearvars close al...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
I generated a FFT Signal of sampling frequency 1kHz for 65536 column vectors of a time domain signal. I want to apply segmentation on this FFT signal to 1024 parts before applying feature extraction.
fs = 1000; t = 0:1/fs:65.536-1/fs; x = sin(2*pi*50*t); X = fft(x); X_1024 = reshape(X,1024,[]); % X_1024 --> [1024x64]

presque 5 ans il y a | 0

Réponse apportée
How can I apply median filter with sliding window for the ECG signal?
The second input of the function medfilt1 determines the window size. % Y = MEDFILT1(X,N) specifies the order, N, of the med...

presque 5 ans il y a | 1

Réponse apportée
extraction phase from ordertrack
To get the instantaneous phase of a signal x, xh = hilbert(x); xphase = angle(xh);

environ 5 ans il y a | 0

Réponse apportée
How to remove noise from the signal and identify the peaks for each cycle of the total signal
Your data has too many artifacts to allow easy processing. You would first need to visually/manually go through your data and se...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Performing RMS on a EEG singal
You will have to download a tool that can read EDF files. You can search the File Exchange for this, or use the Fieldtrip or EEG...

environ 5 ans il y a | 0

Réponse apportée
Help with Chirp FFT
You are plotting the incorrect frequency vector. fft() does not return the frequencies in order from most negative to most posit...

environ 5 ans il y a | 0

Réponse apportée
Reduce data points from 200 to 108
Do you want to: truncate your signal? downsample or resample interpolate something else? Truncate example: t = 1:200; x ...

environ 5 ans il y a | 0

Réponse apportée
How do you find average power?
Calculating the average power of your discrete signal according to the equation in your attached figure is done as: P = su...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
how to contaminate ecg signal with noise
I obviously cannot run this code because I don't have the data nor any of the associated functions. By the way, you are getting ...

environ 5 ans il y a | 0

Réponse apportée
non linearity of sensor
In the figure I don't see a different value for B. I see a phase shift (C is close to but less than pi/4) and decreased amplitud...

environ 5 ans il y a | 0

Réponse apportée
Different plot shape for fft depending on time sample spacing
Your code is incomplete so I can barely comment on it. If you have trouble understanding it, you should look up the examples fro...

environ 5 ans il y a | 1

Réponse apportée
i cannot find the minimum values for matrix.
You must have overwritten 'min' as a variable, and doing min(T) is trying to index into a variable at non-integer positions. Tha...

environ 5 ans il y a | 2

Réponse apportée
Accessing field data in nonscalar structure array
Here is a solution. You'll have to write the functions differently for gathering cells and arrays. fun = @(s,field) {s.(field)}...

environ 5 ans il y a | 2

| A accepté

Réponse apportée
Taking means of initial values in individual cells of structure
tracks.A = [{1:6};{10:14}]; Int2 = cellfun(@(x) mean(x(1:3)), tracks.A); % ans = [2; 11]; If instead you have a n...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
reduce the sampling frequency of an ecg noise signal from 360hz to 250hz ..
help resample

environ 5 ans il y a | 0

Réponse apportée
how to speed my code up
Why do you need a loop to compute a sum? Just replace the entire function with utilization = sum(myArray(periodNumber, 1:co...

environ 5 ans il y a | 1

| A accepté

Charger plus