답변 있음
Distortion introduced by filtering interpolated data.
hello when you do non unique data removal and interpolation, you are introducing a little distorsion in your original signal ,...

3년 초과 전 | 0

답변 있음
Broadband signal deesign
hello maybe this you can tune the frequency range , frequency spacing and amplitudes distribution according to your preferen...

3년 초과 전 | 0

답변 있음
Problem with Fourier Transform fft
hello when you do the fft with a buffer length equal your signal length (as you did) you get the maximal frequency resolution...

3년 초과 전 | 0

답변 있음
Index in position 1 is invalid. Array indices must be positive integers or logical values.
hello depending of your format, the command window will display more or less decimals I suspect c(i,2) = 272.0000.............

3년 초과 전 | 1

답변 있음
Smoothing the Data with For Loop (Sliding Window)
hello seems to me smoothdata can do what you need plot(temperature) hold on ts = smoothdata(temperature,'gaussian',30); ...

3년 초과 전 | 0

답변 있음
error reading csv file
hello readtable reads your file without any issue you may have to do a bit of code updating T = readtable('MH.csv'); T ...

3년 초과 전 | 0

답변 있음
Finding peaks with a set amplitude range?
hello see the demo code below : n = 100; x= 1:n; y = rand(1,n); [pks,locs] = findpeaks(y,x); logicalIndexes = (pks > ...

3년 초과 전 | 0

답변 있음
How to find min/max points on a surface inside a given area
hello try this using inpolygon allows you to define the points inside your triangle the max point is given by the red diam...

3년 초과 전 | 0

| 수락됨

답변 있음
Filter value from multiple columns
hello I assumed you want all the rows where there is at least one 1 in the columns 20 to 24 xcol=20:1:24; [r,c] = find(tN...

3년 초과 전 | 0

| 수락됨

답변 있음
i want to plot freq response of FIR filter
hello try this b= [1 -2 4]; freqz(b,1)

3년 초과 전 | 0

답변 있음
How to load multiple .mat files which are having subfile in .mat format using the loop?
hello I suspect you wante to store the data in a cell array (and not a regular numeric array) so try this : matData = 1×2...

3년 초과 전 | 0

답변 있음
For each peak, I would like to calculate the delta (shown in image) for the plot in the script at each threshold level in a table.
hello seems to me the code is fine for one single value of Strain because then X and Y have same size as soon as you have mul...

3년 초과 전 | 0

답변 있음
Cut Audio Signals (.wav) in specific time.Create a repeat loop to reach the desired time
hello try this I tested the code for mono and stereo wav files - should work even for more channels data now please notice ...

3년 초과 전 | 1

| 수락됨

답변 있음
How to start loop when it finds the first maximum
hello this code does work maybe simply you have to pay attention that such condition statement may not work well simply beca...

3년 초과 전 | 0

| 수락됨

답변 있음
change signal frequency by known freq step
hello try this I assumed you wanted the output signal also sampled at 20 kHz % create some dummy data (as it if was a recor...

3년 초과 전 | 1

| 수락됨

답변 있음
plot running time complexity
you need your n start at zero and not 1 to see n^2 and n^3 curves below curve y = 1 and y = n n = linspace(0,2); f1 = n.^n...

3년 초과 전 | 2

답변 있음
How to grab specific value in txt data?
hello try this : D=readlines('2022_01.txt'); % read as string array % find the time and date lines ...

3년 초과 전 | 0

| 수락됨

답변 있음
How to apply Butterworth filter to an inertial signal metrics?
hello this is a demo code (with 3 channels dummy data) that will display time and averaged fft plot it includes banpass and...

3년 초과 전 | 0

답변 있음
Read images based on datetime
hello Sigmund this is a starter .... In the middle of my brainstorming I was momentary worried that in 'Struct' the filename ...

3년 초과 전 | 0

| 수락됨

답변 있음
how to separate a large text file into individual text files based on date, but also export headers?
So here we go A code that is certainly not as refined as StarStrider's .... filename = 'Gwynedd_1992.txt'; [outdata] = readc...

3년 초과 전 | 0

답변 있음
How to generate Image from Raw Data and find Peak Value
hello try this code below the peak coordinates are stored in xmax and ymax for one single peak , max is sufficient; if you ...

3년 초과 전 | 0

답변 있음
I need to plot circles with different radius and centers .Also I need to extract that information of centers and radius.
hello no need to use meshgrid here (why ??) try this instead the centers and circles are plotted with same color here (bu...

3년 초과 전 | 0

답변 있음
Area Normalize EPR Spectra
hello I presume that negative signal area should aslo be counted as positive area so this line is wrong AreaUnder...

3년 초과 전 | 0

| 수락됨

답변 있음
Hi there, i just want to design and apply a 2s hanning window with 50% overlapp on my EEG signal in order to segment it , i've tried with @hann command but i couldn't get it
hello see example below the signal gets splitted in 2s buffer and windowed see the subfunction at the bottom of the code :...

3년 초과 전 | 0

| 수락됨

답변 있음
Data fitting in between following variables x and b for quadratic equation
hello again seems to me b can be expressed as a first order polynomial of x b = 1.4952 + 0.0097108*x you can of course inc...

3년 초과 전 | 0

| 수락됨

답변 있음
In a function we need to input the first element of matrix?
hello simply this. personnay I don't like to use the same variable name in both iput and output of a function . y = myFIRST...

3년 초과 전 | 0

답변 있음
how to plot repeating steps graph real time/animated
hello maybe this %% create animatedline object / handle figure h1 = animatedline; h1.Marker = '*'; h1.Color = [1 0 1]; ...

3년 초과 전 | 0

| 수락됨

답변 있음
Saving 2D index ranges in a single variable
hello why not this : % Input image rawImage = rand(50, 100); % Save a 6px x 3px ROI % roi_xrange = [1:3]; % roi_yrange =...

3년 초과 전 | 0

| 수락됨

답변 있음
To find exponent in power law equation of the form y = ax^m + b
hello try this may need some refinement for the initial guess for the parameters depending of your data a = 0.55; m = 1....

3년 초과 전 | 0

답변 있음
Selecting two values of an array randomly and reversing the values between
hello try this the output has values between 2nd and 5th data flipped n = 10; A = (1:n) % array ind1 = 2; % first inde...

3년 초과 전 | 0

더 보기