답변 있음
Find maximum in graphic
hello following this example : A = [1 2 3; 4 5 6] [M,ind] = max(A,[],'all','linear') % max value of matrix [row,col] = in...

거의 4년 전 | 0

| 수락됨

답변 있음
data extraction from f06 file
hello my friend here you are the result is stored in Result_c clc clearvars fileID = fopen('flutter_2d_rh_wing_base.f0...

거의 4년 전 | 0

| 수락됨

답변 있음
How to fill missing frequency response data at the beginning and end?
Nathan as said above, here the full code : %% playgroundFillGaps clc;clear;close;format compact; format short g; newFs = ...

거의 4년 전 | 0

| 수락됨

답변 있음
I am trying to write a function to calculate frequency of a signal by comparing values to a threshold.
hello FYI demo with constant and non constant signals period are computed by getting the threshold crossing time data hop...

거의 4년 전 | 0

답변 있음
How to print line from txt file based off of keywords
hello seems I have already seen that question in the recent past .... %%%%%%%% main code %%%%%%%%% clc clearvars filenam...

거의 4년 전 | 1

답변 있음
Extracting multiple row values (with unequal range) in a column separately
hello try this : clc;clear all a = readmatrix('saf_wind.csv'); ind_header = find(isnan(a)); % lines with 'P DEW' (seperate...

거의 4년 전 | 1

| 수락됨

답변 있음
Correlation coefficient calculation error
hello seems to me the code could be made simpler, why the need to make all this cell acrobatics ? clear;clc;close all S = l...

거의 4년 전 | 0

| 수락됨

답변 있음
Error: File: frelay_oldOf_09Jun2022_MINLP.m Line: 434 Column: 1 Illegal use of reserved keyword "end".
hi see the line : out_tbn=[tb1n tb2n tb3n tb4n tb5n..... is missing a closing bracket

거의 4년 전 | 0

답변 있음
Find flat regions in a signal above origin (time series data)
hello IMHO, you don't need the peaks code (and the for loop) to make the low amplitude signals to zero you can do it directly...

거의 4년 전 | 0

| 수락됨

답변 있음
Surface roughness analysis from raw data
hello this is a starter , to do the spectral analysis of your data then you can use some low / high or bandpass filters to f...

거의 4년 전 | 0

답변 있음
Issue with locating end of poorly defined peak
hello again tried this - does it help ? load('iso.mat') curve = 10; % which curve do you want to plot ? data = per...

거의 4년 전 | 0

| 수락됨

답변 있음
Why do I get zero frequencies in a fft when the constant offset is already removed?
hello the fft seems to me inappropriate in this case. If the goal was to find the time difference between the succesive pulses...

거의 4년 전 | 0

| 수락됨

답변 있음
Gradient of a multiple line 2d plot,
hello I see you have a passion for for loops ! maybe you can do yours plots without a for loop this time . Added some code...

거의 4년 전 | 0

| 수락됨

답변 있음
how can I calculate movmean from 1 periode wave data?
hello we can use the peaks to compute this value as well you can use islocalmax (or islocalmin) to locate local peaks. Some...

거의 4년 전 | 0

| 수락됨

답변 있음
HOW TO PLOT X VS Y AT DIFFERENT Z
hello maybe this ? NB : I used large steps for pressure and temperature to avoid creating very large arrays - adapt to your ...

거의 4년 전 | 0

답변 있음
Get y value in plot(t-s diagram)
hello see my demo based on dummy data - trying to reproduce your case code : clc clearvars % dummy data n=1000; y= ...

거의 4년 전 | 0

| 수락됨

답변 있음
How to load a specific column from files + FFT function
helo again as the signals are quite nn stationnary I assumed that a spectrogram is more appropriate than a "simple" FFT (with o...

거의 4년 전 | 1

| 수락됨

답변 있음
for loop summation problem
hello please clarify what is a and b in your request. Usually those letters are used for numerator (B) and denominator (A) of ...

거의 4년 전 | 0

답변 있음
Why am I unable to open .csv file with the readmatrix function?
hello workaround suggestions faster with readcell vs importdata >> tic; out2 = str2double(split(readcell('t4md6p1 - partia...

거의 4년 전 | 1

| 수락됨

답변 있음
How can I cut the number of frames down?
hello Hannah I tried to improve my first (very simple suggestion) here some (hopefully) improvements : detection of "valid" ...

거의 4년 전 | 0

| 수락됨

답변 있음
Using a for loop to read in 16 data sheets and storing one value from each data sheet in a vector - full problem explained
hello I don't see why the code needs two for loops seems to me one suffice and this code gives the answer in mSTRESS (vector...

거의 4년 전 | 1

| 수락됨

답변 있음
How to load a specific column from files + FFT function
hello my first suggestion is for looping inside a folder to load txt file data % read current filenames in folder S = di...

거의 4년 전 | 1

답변 있음
What is the best option to import individual columns from text files?
hello see suggestion below you can expand on this code to add a condition statement on the file counts to switch from 3rd t...

거의 4년 전 | 1

답변 있음
Plotting two graphs simultaneously in a for loop
hello using your x and y data , see answer (example) below : %% create animatedline object / handle figure h1 = animatedli...

거의 4년 전 | 1

답변 있음
ECG signal baseline drift correction
hello a simple high pass filter suffices %--Load Real signal--% load ('100m.mat'); RealECG = val/200; Fs = 360; % Hz L ...

거의 4년 전 | 0

답변 있음
Running 4 MATLAB Scripts to read, process and plot data from many csv files
hello see example below clc clearvars %% define path yourpath = pwd; % or your specific path list=dir(yourpath); %get ...

거의 4년 전 | 1

| 수락됨

답변 있음
How to plot time with correlation of two matrix?
hello here you are : A=[1 2 3 4;4 6 5 7; 1 8 9 3; 1 2 3 4; 3 2 4 1; 4 3 2 1; 5 6 7 4]; B=[0 1 2 3;3 5 5 7; 2 9 9 3; 2 3 4 4...

거의 4년 전 | 0

| 수락됨

답변 있음
How to add a verteical pad obove and below the curve and graph style and color displays?
hello Nisar this is my suggestion , and result your last mat file does not contain the f data so I skipped that portion of co...

거의 4년 전 | 0

답변 있음
How to read all mat files in folder and save plot as image
hello you can try / build your solution based on this example here I wanted all data being in one single plot so I concatenat...

거의 4년 전 | 0

| 수락됨

답변 있음
model fit comparison matlab
hello this is basically waht is called the R² correlation coefficient . If it get's close to 1 it's a good fit, if it get's cl...

거의 4년 전 | 0

더 보기