Réponse apportée
I have multiple spread sheets with multiple sheets that I want to write an indexing data import function for
hello you can probably build your solution from this example I assume you want to concatenate the data from the 3 sheets ?...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
finding singular outliers in the presence of data with steep changes but not singular
hello this is my result so far it will not look at the data in the first and last 10% of the time vector so thefocus is on t...

plus de 3 ans il y a | 0

Réponse apportée
Displaying multiple line plots with different y-values on same baseline
hello IMO, the simplest trick is to "normalize" your data by removing y(1) to each individual y array so that all lines start ...

plus de 3 ans il y a | 0

Réponse apportée
How can I plot frequency vs magnitude of the scalogram?. The input file is the M*N matrix that is a scalogram. Any one help me by providing MATLAB code.
hello the spectrum is either the mean or the peak value along the x direction of S see code example below you can change ...

plus de 3 ans il y a | 0

Réponse apportée
Matlab mixed IIR Filter
hello try this this can be genralizd for a arbritary sequence of x1 / x2 signals NB that a sampling frequency of 100 Hz is ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Storing Variables in a loop to out put in a table
hello try this clearvars dt = 0.1;% t increment iter = 9; % iterations for ci = 1:iter time(ci,1) = 1+(ci-1)...

plus de 3 ans il y a | 0

Réponse apportée
I would like to use matlab to add information from a .dat file to existing MatLab variables
hello try this the text file used for my code is attached hope it helps filename = 'text.txt'; D=readlines(filename);...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to import odd and even rows from a more than one txt file ?
hello maybe this ? I wasn't sure when you say even / odd rows if we take the first line (x y z) into account or not so cho...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
My Spectrogram doesn't look right, and has negative values
hello stft : use option 'FrequencyRange','onesided' to have only positive frequencies (or use spectrogram) also y log scale...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
A figure created within a for loop is not plotted (only the last one is shown)
hello again so there was some figure calls still present in some functions (fun1, fun2 ,...) I cleaned that so you have only ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Importing Excel file data and creating variables with the imported data
hello work with tables or structures...(read doc / help sections if your are not familiar with them ) here a starter % Impo...

plus de 3 ans il y a | 0

Réponse apportée
How to delete text file some perticular lines using Matlab script
hello its' a bit confusing.... in other words you want to keep the lines that contain a certain variable name ? then try thi...

plus de 3 ans il y a | 0

Réponse apportée
How can I extract capital words from a string
hello this is one solution (for strings) . For char array it's almost the same (you don't even need to convert back from char ...

plus de 3 ans il y a | 0

Réponse apportée
Drop data from datatime by condition
hello try this this code will remove data that are contiguous and within given bounds (here 24 hrs min and 36 hours max) th...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Remove matrix from cell array that doesn't fit required matrix size
hello this will remove the unwanted trailing data data =readtable('EURUSD=X.csv') [m,n] = size(data); k = floor(m/20)*20; ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
plotting 12 graphs for different months
hello I tweaked a bit your code load data_matrix.mat data=SECTION_L; data(:,1:3)=[]; row=9; cleanup=data([1 2 3 row],:);...

plus de 3 ans il y a | 0

Réponse apportée
nothing assing to my variable that is in if statement
hello you need to index x in the for loop for i = 1:length(x)/2 if x(i) < 0 % here y(:,i) = Gt_new(1) end e...

plus de 3 ans il y a | 0

Réponse apportée
plot some nodes from an .txt file
hello Alberto here you are ; use function boundary with shrink factor = 1 data = readmatrix('filename.txt'); x = data(:,1);...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Matlab Audio Filter with changing Frequency
hello again so this is a variable coefficient IIR implementation I used a white noise as test signal, the output signal show...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Easy question - How can I save this variable within the for loop?
hello If I understand correctly , n must be multiple of 10 and that's the only values of interest for A and B, no need to per...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How can I group my data per hour in order to not over count my shipping data?
hello have to admit I am not super expert in timetables , but I managed to put some code together and test it i am not sur...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Is there any matlab function to calculate moving mean square error?
hello I doubt that there is a code for that try this : (based on formula) : % dummy data n=300; x=linspace(0,2*pi,n)...

plus de 3 ans il y a | 0

Réponse apportée
Linear envelope of an EMG signal
hello Ines there is no bug here , the plot is correct vs what matlab is supposed to do when you select 'rms' option, you can...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Eliminating the noise from the raw data using median filter
hello again is it now smooth enough ? % Remove quiet parts of a signal. clc; close all; clear; workspace; format ...

plus de 3 ans il y a | 1

Réponse apportée
How to interpolate/resample an irregular dataset into 1 step spacing?
hello Becky try this the second case means you ask interp1 to do extrapolation, as your original x data do not covers the en...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to simulate data from txt correctly?
hello I tried to reproduce your problem , but got the right output , not what you show... hope the attached files can help you...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
import a certain text file .txt from a specific folder
hello again for numerical arrays use readmatrix instead of importdata folder = 'C:\Users\Alberto\....'; % folder where the .t...

plus de 3 ans il y a | 0

Réponse apportée
save .TXT inside a specific folder
hello try this new_folder = 'C:\Users\....\Folder A' A = ; % matrix 200x3 double save(fullfile(new_folder, 'file.txt'), 'A...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How can I write self-invoking code for hundreds of wav files for the same loop and call those files to matlab?
hello something like this ? this demoes the excellent FEX submission Natural-Order Filename Sort - File Exchange - MATLAB ...

plus de 3 ans il y a | 1

Réponse apportée
Identify lines that have a repetition (unique function)
hello simply this now the 4th column is your repetition quantity a=readmatrix("file.txt"); [output,ia,ic]=unique(a,'rows'...

plus de 3 ans il y a | 0

| A accepté

Charger plus