답변 있음
Read large dat file and get the necessary data
hello I made this little wrapper for you the amount of parameters you can export is up to you () here the full monty with a...

4년 초과 전 | 0

| 수락됨

답변 있음
how do i plot a straight line and also change then range of the x axis and y axis ?
hello Grace maybe this ? I added a line between the two points you defined and using xlim and ylim you can change the visual...

4년 초과 전 | 0

답변 있음
overlap of a scatter plot on a 2D imagesc matrix
hello Giulia maybe this ? clear all, close all, clc n0= 1; % Refractive index of ...

4년 초과 전 | 0

| 수락됨

답변 있음
How can I write a loop that will normalise each column of data to zero?
hello IMHO there was only this bug then you can see we can plot the data (unwrapped) without any issue for normalise_loop...

4년 초과 전 | 0

| 수락됨

답변 있음
How to sequentially read .txt file to .mat with random names available in a folder
hello see this demo for importing csv files .. you can easily adapt this code for txt files. I use natsortfiles (from FEX) ...

4년 초과 전 | 0

| 수락됨

답변 있음
Loop through multiple gait strides and time normalize
hello see my code below - it will extract all cycles of data and perform averaging (the black dotted lines) clc clearvar...

4년 초과 전 | 0

답변 있음
finding peak value after minimum value
hello this would be my suggestion - I added also the local peak "before" the global min also for sake of convenience clc ...

4년 초과 전 | 1

| 수락됨

답변 있음
help with deleting zeros from an array
hello could not really figure out what in your plot is weird but at least if you really want to remove zero or almost zero val...

4년 초과 전 | 0

| 수락됨

답변 있음
How to replicate Matlab moving average to Simulink model?
hello in terms of signal processing, a moving average filter is a FIR with all coefficients of the numerator equals ( = 1/n i...

4년 초과 전 | 0

| 수락됨

답변 있음
Changing text file name changes the plot of data after using dir('*.txt') ??
hello a "low cost" solution for those who don't have the Curve Fit Toolbox I force all fitted data to share the same xfit x da...

4년 초과 전 | 0

답변 있음
Read and perform for loop on very large text files
hello why not work line by line (from the data file) and do what your code is supposed to do at each step ? here a example ...

4년 초과 전 | 0

답변 있음
How to choice the right frequency analysis
hello a spike or impulse will have a uniform (flat) energy distribution across a large frequency range you can see that on t...

4년 초과 전 | 0

답변 있음
how to convert digital pulses into RPM ?
hello see attached simulink file (R2020b) using a counter you can compute the frequency of your inputs signal between success...

4년 초과 전 | 0

답변 있음
Split a binary sequence into two parts one integer part and one decimal part
hello try this : % solution a = 100101; decimal_position = 2; b = num2str(a); d = bin2dec(b)/2^decimal_position;

4년 초과 전 | 2

답변 있음
How to discard beginning and end of the signal when extracting elements of the signal identified via findpeaks?
hello I wanted to challenge your code and came with a different solution . This new code will retain only valid peaks with on...

4년 초과 전 | 0

| 수락됨

답변 있음
signal wave sorting ?
hello this would be my suggestion : first , unwrap the angle data , then find the x coordinates for a given y (common) value fo...

4년 초과 전 | 0

답변 있음
Is there a way to extract the numeric data from these chars?
hello you can do that (will simply combine minutes and seconds into only seconds time vector) but as your original data has r...

4년 초과 전 | 0

| 수락됨

답변 있음
Convert audio file in a frecuency matrix
hello FYI, this is a code to do spectral analysis you can use some basic low pass / hgh pass / notch filters as well enjoy !...

4년 초과 전 | 0

답변 있음
Zeigler-Nichols reaction curve
hi probably you wanted to do this : t=0:0.01:3.0; opensys=tf(5,conv([1 18],[89 87])); y_opensys=step(opensys,t); plot(t...

4년 초과 전 | 0

답변 있음
Need to find "Knees" in Stress Strain curves where slope change abruptly
hello this would be my first suggestion of course the results may be sensitive to the threshold used in my method (based on ...

4년 초과 전 | 0

| 수락됨

답변 있음
For loop on multiple sensors
hi sure it's possible for ck = 1:5 max = max(sensors(:,ck)); disp(max); end

4년 초과 전 | 0

| 수락됨

답변 있음
Make a grid (1 x1) out of scattered insitu data and take the average of each grid that has data
hello this would be my suggestion, based on dummy data (left picture) - result appears in right picture clc clearvars %...

4년 초과 전 | 0

| 수락됨

답변 있음
Loop Rate of Change with Negative Values
hello I assumed that the time axis in your file is as folows : first (top value) is the oldest and last (bottom) is the newest...

4년 초과 전 | 0

| 수락됨

답변 있음
How can i generate coefficients (Num, Deno) for allpass filter?
hello try this : function [b,a]=allpass(n,Fst,Fed,mag,Fs) %Creates an allpass filter % %Syntax: % >>[b,a]=allpass(n,Fst...

4년 초과 전 | 0

답변 있음
How to import files in bulk and loop over them
hello to start... an example below to show how to loop over directories and load in natural sorting order the files in each fo...

4년 초과 전 | 0

| 수락됨

답변 있음
Loading variables from different folders containing subfolders in loop
hello an example below to show how to loop over directories and load in natural sorting ordre the files in each folder clc c...

4년 초과 전 | 0

| 수락됨

답변 있음
Highlight peaks/dents in a heatmap imagesc()
hello a very simple code that combines surf and contour (will not draw a circle but maybe it's still a valuable solution) [X,...

4년 초과 전 | 0

| 수락됨

답변 있음
lsqcurvefit is undefined in MathLab version R2007b
hello FYI, you can do basic curve fitting with fminsearch - without the optimization toolbox clc clearvars x = [0.9 1....

4년 초과 전 | 0

| 수락됨

답변 있음
i am trying to code a high shelf filter with an input(.wav) audio signal . I am a student im doing this for my final year project....kindly professionals give me solution
hello as an appetizer , please read the attached txt file and see how it's implemented in the m file (filters.m) for your sp...

4년 초과 전 | 0

답변 있음
Determine the Bode diagram or a transfer function with input output data without tfest
hello this is a better code ; a better transfer function estimate is based on the auto power spectra and cross spectrum betwee...

4년 초과 전 | 1

| 수락됨

더 보기