Respondida
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(...

alrededor de 5 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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",",")

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

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

alrededor de 5 años hace | 0

| aceptada

Respondida
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 %...

alrededor de 5 años hace | 0

Respondida
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))

alrededor de 5 años hace | 0

Respondida
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 ...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 2

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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) ...

alrededor de 5 años hace | 1

| aceptada

Respondida
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 ...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 1

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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 ...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 1

| aceptada

Respondida
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 %-----------...

alrededor de 5 años hace | 0

Respondida
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)); ...

más de 5 años hace | 0

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

más de 5 años hace | 1

Respondida
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...

más de 5 años hace | 0

Respondida
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 ...

más de 5 años hace | 0

| aceptada

Respondida
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...

más de 5 años hace | 0

Cargar más