Réponse apportée
Extracting a double from a text file
hello my 2 cents suggestion (as I still struggle with regexp !) bs = split(fileread('data.txt')); values = bs(find(strcmp(...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Be able to Detect Breathing
hello David yes you can clear tell that the bed is not empty and that someone is actually breathing by either saying the time ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to smoothen the function/"bridge the gap"?
hello this would be me suggestion if the idea is to replace the "faulty" data segment with a piecewise linear segment and then...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
how to inser loop in equations
hello in matlab , index are starting with 1 (it's not a zero based language) - so your code will not work for i = 1 I made a...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How can I write a table to .csv file
hello for numerical data you can use writematrix - see example below writematrix(rand(100,5),"file.csv","Delimiter",",")

environ 5 ans il y a | 0

Réponse apportée
Jacobi iterative method in matlab
hello there were quite a few bugs there - now see the correction below you should do a while and not a for loop if you sto...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to change the unit of magnitude from DB to m/s2 in stft plot ?
hello value_ms2 = 10.^(value_dB/20)

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to read this mtx file in matlab
hello this is a txt file with 3 columns and 1 header line see example below % demo clc clearvars; % % load data %...

environ 5 ans il y a | 0

Réponse apportée
plotting figure ignore blank entries
hello remove first the empty cells , example below (R is the cell array) R = R(~cellfun('isempty',R)); plot(cell2mat(R))

environ 5 ans il y a | 0

Réponse apportée
Denoising the sinusoidal signal
hello see my suggestion below notice that your code was wrong regarding sampling frequency (barely at 5 Hz) so this is not ...

environ 5 ans il y a | 0

Réponse apportée
Applying bessel filter to raw data to reduce the noise (error)
hello here you are my friend; bessel are continuous filters that must be converted to digital (a contrario from butter that ge...

environ 5 ans il y a | 0

Réponse apportée
sliding window algorithm for time-series data
HELLO see demo below - second section implement a overlap method all the best clc clearvars % dummy data data = ran...

environ 5 ans il y a | 2

| A accepté

Réponse apportée
Plotting the first column of each page on one plot
hello simply because your not really doing the loop from i = 1 to 8 this is wrong : for i = size(H_Amputated,3) this is r...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Surface Plot using excel file as a source
hello Andreas simply , you inverted x and y vectors this is correct : filename = 'PlotData.xlsx'; num = xlsread(filename) ...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Weighted average of lat lon data
hello my 2 cents suggestion data = rand(288,192,60); % dummy data [m,n,p] = size(data); dataw = zeros(1,p); for ...

environ 5 ans il y a | 0

Réponse apportée
How to plot complicated implicit function?
hello I tried a few things to understand where the problem lies. I have to say I am not an expert in this field and I will not...

environ 5 ans il y a | 1

Réponse apportée
Change the first group of 0s in each column
hello Ana here my suggestion , based on a dummy data array ; i kept the NaN unchanged (my assumption) Code is : clc clear...

environ 5 ans il y a | 0

Réponse apportée
separate signals and calculate their rms at different frequencies
hello again I expanded a bit your code to try other bandpass filtering methods and also compare with my little fft code. the ...

environ 5 ans il y a | 0

Réponse apportée
why when i use find command to find the index i face problem
hello no , matlab tells you that it could NOT find an exact match to value = 0.3 (there must be a very tiny numerical differen...

environ 5 ans il y a | 0

Réponse apportée
Problems in reading large matrix with unintended gaps between data
hello again so this is my simple fix , retrieve the two last vectors and do this very simple mathematical fix ; your DRNRF d...

environ 5 ans il y a | 0

Réponse apportée
How to use filter() if I don't have the transfer function?
hello you have a FIR filter , and in that case the numerator b is equal to the h impulse response coefficients the denominato...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
time series data set
hello try this - there is still a bit of work depending how you want the time axis of the plot being dispalyed for the time ...

environ 5 ans il y a | 0

Réponse apportée
How to read in multiple text files, each containing multiple lines/formats?
hello I have to admit that I am not a super pro of textscan , so someone else will probably make a better code than me , but t...

environ 5 ans il y a | 0

Réponse apportée
Scale plots with different steps
hello my suggestion below hope it helps clearvars load('Data1.mat') measurements1 = measurements; x = linspace(-1.2,1.2...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Adding and generation of shot noise to a gaussian chirp signal.
hello minor bug fixed in the last lines (see comments ) - it's the time vector definition (length) was incorrect %-----------...

environ 5 ans il y a | 0

Réponse apportée
Conduct the cross-correlation analysis for the two sets of the data with different time lags and find the maximum correlation coefficient and the corresponding time-lag.
hello here you are all the best T = readtable('wind data set no 3.xlsx'); C = table2cell(T); a = cell2mat(C(4:end,3)); ...

environ 5 ans il y a | 0

Réponse apportée
Matrix insertion to a txt-file
hello Robert try this : clc clearvars dlmwrite('Mymatrices.txt','----------------------','delimiter','') X = randi(10...

environ 5 ans il y a | 1

Réponse apportée
How can I read from a file (specific format) using Matlab?
hello here you are : T = readlines('data.txt'); for ci = 1:numel(T) Tci = T(ci); str1{ci,1} = char(extractBetwe...

environ 5 ans il y a | 0

Réponse apportée
Automatically select and name variables from import file (.xlsx)
ok so that's my first trial , based on slope values (must be below a given threshold to select sections of interest) not sure ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
I-PD Controller
hello Chiara I tried to fix this issue and got to this solution (attached) To me and according to the documentation of the 2D...

environ 5 ans il y a | 0

Charger plus