How to cut ASCII file with matlab ?

1 view (last 30 days)
Hy everyone,
I need help.
I'm trying to post process some ASCII files from fluent.
The problem is that I extract several lines from differents sizes (number of cells) and they are put together in the ASCII file.
I would like to cut the files for each lines automatically and I don't konw how ...
Finally i'm trying to create un .mat file with all the data to be able to plot some values.
For now I'm doing it manually (see the code)
clear all
close all
%% Variables
[file,path]=uigetfile('*',MultiSelect='on');
N=length(file);% Nombre de fichier
deltat=1e-5;% Pas de temps
tps=0;
Fs=1/deltat;% Frequence de coupure
% Vecteur temps
temps=linspace(0,(N-1)*deltat,N);
Viscosite_turb=true;
%% Lecture fichiers
delete(gcp('nocreate'))
poolobj=parpool(8);
parfor i=1:N
i/N
nfichier=string(file(i));
fichier=sprintf('%s%s',path,nfichier);
donnee=importdata(fichier,' ');
% Coordonnée
Y_10h(:,i)=donnee.data(1:33,3);
Y_1h(:,i)=donnee.data(34:196,3);
Y_2h(:,i)=donnee.data(197:316,3);
Y_3h(:,i)=donnee.data(317:414,3);
Y_4h(:,i)=donnee.data(415:495,3);
Y_5h(:,i)=donnee.data(496:559,3);
Y_6h(:,i)=donnee.data(560:614,3);
Y_7h(:,i)=donnee.data(615:664,3);
Y_8h(:,i)=donnee.data(665:704,3);
Y_9h(:,i)=donnee.data(705:740,3);
% Pression statique
Pression_statique_10h(:,i)=donnee.data(1:33,4);
Pression_statique_1h(:,i)=donnee.data(34:196,4);
Pression_statique_2h(:,i)=donnee.data(197:316,4);
Pression_statique_3h(:,i)=donnee.data(317:414,4);
Pression_statique_4h(:,i)=donnee.data(415:495,4);
Pression_statique_5h(:,i)=donnee.data(496:559,4);
Pression_statique_6h(:,i)=donnee.data(560:614,4);
Pression_statique_7h(:,i)=donnee.data(615:664,4);
Pression_statique_8h(:,i)=donnee.data(665:704,4);
Pression_statique_9h(:,i)=donnee.data(705:740,4);
% Pression dynamique
Pression_dynamique_10h(:,i)=donnee.data(1:33,5);
Pression_dynamique_1h(:,i)=donnee.data(34:196,5);
Pression_dynamique_2h(:,i)=donnee.data(197:316,5);
Pression_dynamique_3h(:,i)=donnee.data(317:414,5);
Pression_dynamique_4h(:,i)=donnee.data(415:495,5);
Pression_dynamique_5h(:,i)=donnee.data(496:559,5);
Pression_dynamique_6h(:,i)=donnee.data(560:614,5);
Pression_dynamique_7h(:,i)=donnee.data(615:664,5);
Pression_dynamique_8h(:,i)=donnee.data(665:704,5);
Pression_dynamique_9h(:,i)=donnee.data(705:740,5);
% Pression totale
Pression_totale_10h(:,i)=donnee.data(1:33,6);
Pression_totale_1h(:,i)=donnee.data(34:196,6);
Pression_totale_2h(:,i)=donnee.data(197:316,6);
Pression_totale_3h(:,i)=donnee.data(317:414,6);
Pression_totale_4h(:,i)=donnee.data(415:495,6);
Pression_totale_5h(:,i)=donnee.data(496:559,6);
Pression_totale_6h(:,i)=donnee.data(560:614,6);
Pression_totale_7h(:,i)=donnee.data(615:664,6);
Pression_totale_8h(:,i)=donnee.data(665:704,6);
Pression_totale_9h(:,i)=donnee.data(705:740,6);
% Densite
Densite_10h(:,i)=donnee.data(1:33,7);
Densite_1h(:,i)=donnee.data(34:196,7);
Densite_2h(:,i)=donnee.data(197:316,7);
Densite_3h(:,i)=donnee.data(317:414,7);
Densite_4h(:,i)=donnee.data(415:495,7);
Densite_5h(:,i)=donnee.data(496:559,7);
Densite_6h(:,i)=donnee.data(560:614,7);
Densite_7h(:,i)=donnee.data(615:664,7);
Densite_8h(:,i)=donnee.data(665:704,7);
Densite_9h(:,i)=donnee.data(705:740,7);
% Vitesse U
Vitesse_U_10h(:,i)=donnee.data(1:33,8);
Vitesse_U_1h(:,i)=donnee.data(34:196,8);
Vitesse_U_2h(:,i)=donnee.data(197:316,8);
Vitesse_U_3h(:,i)=donnee.data(317:414,8);
Vitesse_U_4h(:,i)=donnee.data(415:495,8);
Vitesse_U_5h(:,i)=donnee.data(496:559,8);
Vitesse_U_6h(:,i)=donnee.data(560:614,8);
Vitesse_U_7h(:,i)=donnee.data(615:664,8);
Vitesse_U_8h(:,i)=donnee.data(665:704,8);
Vitesse_U_9h(:,i)=donnee.data(705:740,8);
% Vitesse V
Vitesse_V_10h(:,i)=donnee.data(1:33,9);
Vitesse_V_1h(:,i)=donnee.data(34:196,9);
Vitesse_V_2h(:,i)=donnee.data(197:316,9);
Vitesse_V_3h(:,i)=donnee.data(317:414,9);
Vitesse_V_4h(:,i)=donnee.data(415:495,9);
Vitesse_V_5h(:,i)=donnee.data(496:559,9);
Vitesse_V_6h(:,i)=donnee.data(560:614,9);
Vitesse_V_7h(:,i)=donnee.data(615:664,9);
Vitesse_V_8h(:,i)=donnee.data(665:704,9);
Vitesse_V_9h(:,i)=donnee.data(705:740,9);
% Temperature statique
Temperature_statique_10h(:,i)=donnee.data(1:33,10);
Temperature_statique_1h(:,i)=donnee.data(34:196,10);
Temperature_statique_2h(:,i)=donnee.data(197:316,10);
Temperature_statique_3h(:,i)=donnee.data(317:414,10);
Temperature_statique_4h(:,i)=donnee.data(415:495,10);
Temperature_statique_5h(:,i)=donnee.data(496:559,10);
Temperature_statique_6h(:,i)=donnee.data(560:614,10);
Temperature_statique_7h(:,i)=donnee.data(615:664,10);
Temperature_statique_8h(:,i)=donnee.data(665:704,10);
Temperature_statique_9h(:,i)=donnee.data(705:740,10);
% Temperature totale
Temperature_totale_10h(:,i)=donnee.data(1:33,11);
Temperature_totale_1h(:,i)=donnee.data(34:196,11);
Temperature_totale_2h(:,i)=donnee.data(197:316,11);
Temperature_totale_3h(:,i)=donnee.data(317:414,11);
Temperature_totale_4h(:,i)=donnee.data(415:495,11);
Temperature_totale_5h(:,i)=donnee.data(496:559,11);
Temperature_totale_6h(:,i)=donnee.data(560:614,11);
Temperature_totale_7h(:,i)=donnee.data(615:664,11);
Temperature_totale_8h(:,i)=donnee.data(665:704,11);
Temperature_totale_9h(:,i)=donnee.data(705:740,11);
% Energie cinétique turbulente
k_10h(:,i)=donnee.data(1:33,12);
k_1h(:,i)=donnee.data(34:196,12);
k_2h(:,i)=donnee.data(197:316,12);
k_3h(:,i)=donnee.data(317:414,12);
k_4h(:,i)=donnee.data(415:495,12);
k_5h(:,i)=donnee.data(496:559,12);
k_6h(:,i)=donnee.data(560:614,12);
k_7h(:,i)=donnee.data(615:664,12);
k_8h(:,i)=donnee.data(665:704,12);
k_9h(:,i)=donnee.data(705:740,12);
% Epsilon
Epsilon_10h(:,i)=donnee.data(1:33,13);
Epsilon_1h(:,i)=donnee.data(34:196,13);
Epsilon_2h(:,i)=donnee.data(197:316,13);
Epsilon_3h(:,i)=donnee.data(317:414,13);
Epsilon_4h(:,i)=donnee.data(415:495,13);
Epsilon_5h(:,i)=donnee.data(496:559,13);
Epsilon_6h(:,i)=donnee.data(560:614,13);
Epsilon_7h(:,i)=donnee.data(615:664,13);
Epsilon_8h(:,i)=donnee.data(665:704,13);
Epsilon_9h(:,i)=donnee.data(705:740,13);
if Viscosite_turb==false
% Viscosité dynamique
mu_10h(:,i)=donnee.data(1:33,14);
mu_1h(:,i)=donnee.data(34:196,14);
mu_2h(:,i)=donnee.data(197:316,14);
mu_3h(:,i)=donnee.data(317:414,14);
mu_4h(:,i)=donnee.data(415:495,14);
mu_5h(:,i)=donnee.data(496:559,14);
mu_6h(:,i)=donnee.data(560:614,14);
mu_7h(:,i)=donnee.data(615:664,14);
mu_8h(:,i)=donnee.data(665:704,14);
mu_9h(:,i)=donnee.data(705:740,14);
% gamma
gamma_10h(:,i)=donnee.data(1:33,15);
gamma_1h(:,i)=donnee.data(34:196,15);
gamma_2h(:,i)=donnee.data(197:316,15);
gamma_3h(:,i)=donnee.data(317:414,15);
gamma_4h(:,i)=donnee.data(415:495,15);
gamma_5h(:,i)=donnee.data(496:559,15);
gamma_6h(:,i)=donnee.data(560:614,15);
gamma_7h(:,i)=donnee.data(615:664,15);
gamma_8h(:,i)=donnee.data(665:704,15);
gamma_9h(:,i)=donnee.data(705:740,15);
% dudx
dudx_10h(:,i)=donnee.data(1:33,16);
dudx_1h(:,i)=donnee.data(34:196,16);
dudx_2h(:,i)=donnee.data(197:316,16);
dudx_3h(:,i)=donnee.data(317:414,16);
dudx_4h(:,i)=donnee.data(415:495,16);
dudx_5h(:,i)=donnee.data(496:559,16);
dudx_6h(:,i)=donnee.data(560:614,16);
dudx_7h(:,i)=donnee.data(615:664,16);
dudx_8h(:,i)=donnee.data(665:704,16);
dudx_9h(:,i)=donnee.data(705:740,16);
% dvdx
dvdx_10h(:,i)=donnee.data(1:33,17);
dvdx_1h(:,i)=donnee.data(34:196,17);
dvdx_2h(:,i)=donnee.data(197:316,17);
dvdx_3h(:,i)=donnee.data(317:414,17);
dvdx_4h(:,i)=donnee.data(415:495,17);
dvdx_5h(:,i)=donnee.data(496:559,17);
dvdx_6h(:,i)=donnee.data(560:614,17);
dvdx_7h(:,i)=donnee.data(615:664,17);
dvdx_8h(:,i)=donnee.data(665:704,17);
dvdx_9h(:,i)=donnee.data(705:740,17);
% dudy
dudy_10h(:,i)=donnee.data(1:33,18);
dudy_1h(:,i)=donnee.data(34:196,18);
dudy_2h(:,i)=donnee.data(197:316,18);
dudy_3h(:,i)=donnee.data(317:414,18);
dudy_4h(:,i)=donnee.data(415:495,18);
dudy_5h(:,i)=donnee.data(496:559,18);
dudy_6h(:,i)=donnee.data(560:614,18);
dudy_7h(:,i)=donnee.data(615:664,18);
dudy_8h(:,i)=donnee.data(665:704,18);
dudy_9h(:,i)=donnee.data(705:740,18);
% dvdy
dvdy_10h(:,i)=donnee.data(1:33,19);
dvdy_1h(:,i)=donnee.data(34:196,19);
dvdy_2h(:,i)=donnee.data(197:316,19);
dvdy_3h(:,i)=donnee.data(317:414,19);
dvdy_4h(:,i)=donnee.data(415:495,19);
dvdy_5h(:,i)=donnee.data(496:559,19);
dvdy_6h(:,i)=donnee.data(560:614,19);
dvdy_7h(:,i)=donnee.data(615:664,19);
dvdy_8h(:,i)=donnee.data(665:704,19);
dvdy_9h(:,i)=donnee.data(705:740,19);
else
% Viscosité turbulente
mut_10h(:,i)=donnee.data(1:33,14);
mut_1h(:,i)=donnee.data(34:196,14);
mut_2h(:,i)=donnee.data(197:316,14);
mut_3h(:,i)=donnee.data(317:414,14);
mut_4h(:,i)=donnee.data(415:495,14);
mut_5h(:,i)=donnee.data(496:559,14);
mut_6h(:,i)=donnee.data(560:614,14);
mut_7h(:,i)=donnee.data(615:664,14);
mut_8h(:,i)=donnee.data(665:704,14);
mut_9h(:,i)=donnee.data(705:740,14);
% Viscosité dynamique
mu_10h(:,i)=donnee.data(1:33,15);
mu_1h(:,i)=donnee.data(34:196,15);
mu_2h(:,i)=donnee.data(197:316,15);
mu_3h(:,i)=donnee.data(317:414,15);
mu_4h(:,i)=donnee.data(415:495,15);
mu_5h(:,i)=donnee.data(496:559,15);
mu_6h(:,i)=donnee.data(560:614,15);
mu_7h(:,i)=donnee.data(615:664,15);
mu_8h(:,i)=donnee.data(665:704,15);
mu_9h(:,i)=donnee.data(705:740,15);
% gamma
gamma_10h(:,i)=donnee.data(1:33,16);
gamma_1h(:,i)=donnee.data(34:196,16);
gamma_2h(:,i)=donnee.data(197:316,16);
gamma_3h(:,i)=donnee.data(317:414,16);
gamma_4h(:,i)=donnee.data(415:495,16);
gamma_5h(:,i)=donnee.data(496:559,16);
gamma_6h(:,i)=donnee.data(560:614,16);
gamma_7h(:,i)=donnee.data(615:664,16);
gamma_8h(:,i)=donnee.data(665:704,16);
gamma_9h(:,i)=donnee.data(705:740,16);
% dudx
dudx_10h(:,i)=donnee.data(1:33,17);
dudx_1h(:,i)=donnee.data(34:196,17);
dudx_2h(:,i)=donnee.data(197:316,17);
dudx_3h(:,i)=donnee.data(317:414,17);
dudx_4h(:,i)=donnee.data(415:495,17);
dudx_5h(:,i)=donnee.data(496:559,17);
dudx_6h(:,i)=donnee.data(560:614,17);
dudx_7h(:,i)=donnee.data(615:664,17);
dudx_8h(:,i)=donnee.data(665:704,17);
dudx_9h(:,i)=donnee.data(705:740,17);
% dvdx
dvdx_10h(:,i)=donnee.data(1:33,18);
dvdx_1h(:,i)=donnee.data(34:196,18);
dvdx_2h(:,i)=donnee.data(197:316,18);
dvdx_3h(:,i)=donnee.data(317:414,18);
dvdx_4h(:,i)=donnee.data(415:495,18);
dvdx_5h(:,i)=donnee.data(496:559,18);
dvdx_6h(:,i)=donnee.data(560:614,18);
dvdx_7h(:,i)=donnee.data(615:664,18);
dvdx_8h(:,i)=donnee.data(665:704,18);
dvdx_9h(:,i)=donnee.data(705:740,18);
% dudy
dudy_10h(:,i)=donnee.data(1:33,19);
dudy_1h(:,i)=donnee.data(34:196,19);
dudy_2h(:,i)=donnee.data(197:316,19);
dudy_3h(:,i)=donnee.data(317:414,19);
dudy_4h(:,i)=donnee.data(415:495,19);
dudy_5h(:,i)=donnee.data(496:559,19);
dudy_6h(:,i)=donnee.data(560:614,19);
dudy_7h(:,i)=donnee.data(615:664,19);
dudy_8h(:,i)=donnee.data(665:704,19);
dudy_9h(:,i)=donnee.data(705:740,19);
% dvdy
dvdy_10h(:,i)=donnee.data(1:33,20);
dvdy_1h(:,i)=donnee.data(34:196,20);
dvdy_2h(:,i)=donnee.data(197:316,20);
dvdy_3h(:,i)=donnee.data(317:414,20);
dvdy_4h(:,i)=donnee.data(415:495,20);
dvdy_5h(:,i)=donnee.data(496:559,20);
dvdy_6h(:,i)=donnee.data(560:614,20);
dvdy_7h(:,i)=donnee.data(615:664,20);
dvdy_8h(:,i)=donnee.data(665:704,20);
dvdy_9h(:,i)=donnee.data(705:740,20);
end
end
delete(poolobj)
Thank's for your help !!
  2 Comments
Mathieu TOCQUER
Mathieu TOCQUER on 5 Jul 2022
Thank you.
I attach the file to the topic.

Sign in to comment.

Accepted Answer

Mathieu NOE
Mathieu NOE on 5 Jul 2022
hello Mathieu
this would be my suggestion - create a structure with field names taken from your data file -
See the function file in attachment also - an older wrapper to get headers and numeric content from mixed txt files - still helpfull even though modern matlab releases offer more options - someone will probably prefer a
readtable
code instead.
So my suggestion
[outdata,head] = readclm('data_ligne_100k_3mm.txt'); % or use equivalent function (readtable and alike)
[m,n] = size(outdata);
data_names = split(head);
emptyCells = cellfun('isempty', data_names);
data_names(emptyCells) = []; % remove empty names from list
% find lines matching "1" in the first column (as data block separator)
ind = find(outdata(:,1) < 1.1);
ind = [ind;m+1]; % add end of line index +1
% grouping all these variables under an overarching struct
Content = struct() ;
for ck = 1 : numel(data_names)
fn = data_names{ck};
fn = strrep(fn,'-','_'); % - is not allowed in field names , replaced by _
for cj = 1:numel(ind)-1
start = ind(cj);
stop = ind(cj+1)-1;
str = ['_' num2str(cj-1) 'h'];
fnn = [fn str];
Content.(fnn) = outdata(start:stop,ck);
end
end
will create a structure Content with your data as requested :
Content = struct with fields:
cellnumber_0h: [33×1 double]
cellnumber_1h: [163×1 double]
cellnumber_2h: [120×1 double]
cellnumber_3h: [98×1 double]
cellnumber_4h: [81×1 double]
cellnumber_5h: [64×1 double]
cellnumber_6h: [55×1 double]
cellnumber_7h: [50×1 double]
cellnumber_8h: [40×1 double]
cellnumber_9h: [36×1 double]
x_coordinate_0h: [33×1 double]
x_coordinate_1h: [163×1 double]
x_coordinate_2h: [120×1 double]
x_coordinate_3h: [98×1 double]
x_coordinate_4h: [81×1 double]
x_coordinate_5h: [64×1 double]
x_coordinate_6h: [55×1 double]
x_coordinate_7h: [50×1 double]
x_coordinate_8h: [40×1 double]
x_coordinate_9h: [36×1 double]
y_coordinate_0h: [33×1 double]
y_coordinate_1h: [163×1 double]
y_coordinate_2h: [120×1 double]
y_coordinate_3h: [98×1 double]
y_coordinate_4h: [81×1 double]
y_coordinate_5h: [64×1 double]
y_coordinate_6h: [55×1 double]
y_coordinate_7h: [50×1 double]
y_coordinate_8h: [40×1 double]
y_coordinate_9h: [36×1 double]
pressure_0h: [33×1 double]
pressure_1h: [163×1 double]
pressure_2h: [120×1 double]
pressure_3h: [98×1 double]
pressure_4h: [81×1 double]
pressure_5h: [64×1 double]
pressure_6h: [55×1 double]
pressure_7h: [50×1 double]
pressure_8h: [40×1 double]
pressure_9h: [36×1 double]
dynamic_pressure_0h: [33×1 double]
dynamic_pressure_1h: [163×1 double]
dynamic_pressure_2h: [120×1 double]
dynamic_pressure_3h: [98×1 double]
dynamic_pressure_4h: [81×1 double]
dynamic_pressure_5h: [64×1 double]
dynamic_pressure_6h: [55×1 double]
dynamic_pressure_7h: [50×1 double]
dynamic_pressure_8h: [40×1 double]
dynamic_pressure_9h: [36×1 double]
total_pressure_0h: [33×1 double]
total_pressure_1h: [163×1 double]
total_pressure_2h: [120×1 double]
total_pressure_3h: [98×1 double]
total_pressure_4h: [81×1 double]
total_pressure_5h: [64×1 double]
total_pressure_6h: [55×1 double]
total_pressure_7h: [50×1 double]
total_pressure_8h: [40×1 double]
total_pressure_9h: [36×1 double]
density_0h: [33×1 double]
density_1h: [163×1 double]
density_2h: [120×1 double]
density_3h: [98×1 double]
density_4h: [81×1 double]
density_5h: [64×1 double]
density_6h: [55×1 double]
density_7h: [50×1 double]
density_8h: [40×1 double]
density_9h: [36×1 double]
x_velocity_0h: [33×1 double]
x_velocity_1h: [163×1 double]
x_velocity_2h: [120×1 double]
x_velocity_3h: [98×1 double]
x_velocity_4h: [81×1 double]
x_velocity_5h: [64×1 double]
x_velocity_6h: [55×1 double]
x_velocity_7h: [50×1 double]
x_velocity_8h: [40×1 double]
x_velocity_9h: [36×1 double]
y_velocity_0h: [33×1 double]
y_velocity_1h: [163×1 double]
y_velocity_2h: [120×1 double]
y_velocity_3h: [98×1 double]
y_velocity_4h: [81×1 double]
y_velocity_5h: [64×1 double]
y_velocity_6h: [55×1 double]
y_velocity_7h: [50×1 double]
y_velocity_8h: [40×1 double]
y_velocity_9h: [36×1 double]
temperature_0h: [33×1 double]
temperature_1h: [163×1 double]
temperature_2h: [120×1 double]
temperature_3h: [98×1 double]
temperature_4h: [81×1 double]
temperature_5h: [64×1 double]
temperature_6h: [55×1 double]
temperature_7h: [50×1 double]
temperature_8h: [40×1 double]
temperature_9h: [36×1 double]
total_temperature_0h: [33×1 double]
total_temperature_1h: [163×1 double]
total_temperature_2h: [120×1 double]
total_temperature_3h: [98×1 double]
total_temperature_4h: [81×1 double]
total_temperature_5h: [64×1 double]
total_temperature_6h: [55×1 double]
total_temperature_7h: [50×1 double]
total_temperature_8h: [40×1 double]
total_temperature_9h: [36×1 double]
turb_kinetic_energy_0h: [33×1 double]
turb_kinetic_energy_1h: [163×1 double]
turb_kinetic_energy_2h: [120×1 double]
turb_kinetic_energy_3h: [98×1 double]
turb_kinetic_energy_4h: [81×1 double]
turb_kinetic_energy_5h: [64×1 double]
turb_kinetic_energy_6h: [55×1 double]
turb_kinetic_energy_7h: [50×1 double]
turb_kinetic_energy_8h: [40×1 double]
turb_kinetic_energy_9h: [36×1 double]
turb_diss_rate_0h: [33×1 double]
turb_diss_rate_1h: [163×1 double]
turb_diss_rate_2h: [120×1 double]
turb_diss_rate_3h: [98×1 double]
turb_diss_rate_4h: [81×1 double]
turb_diss_rate_5h: [64×1 double]
turb_diss_rate_6h: [55×1 double]
turb_diss_rate_7h: [50×1 double]
turb_diss_rate_8h: [40×1 double]
turb_diss_rate_9h: [36×1 double]
viscosity_turb_0h: [33×1 double]
viscosity_turb_1h: [163×1 double]
viscosity_turb_2h: [120×1 double]
viscosity_turb_3h: [98×1 double]
viscosity_turb_4h: [81×1 double]
viscosity_turb_5h: [64×1 double]
viscosity_turb_6h: [55×1 double]
viscosity_turb_7h: [50×1 double]
viscosity_turb_8h: [40×1 double]
viscosity_turb_9h: [36×1 double]
viscosity_lam_0h: [33×1 double]
viscosity_lam_1h: [163×1 double]
viscosity_lam_2h: [120×1 double]
viscosity_lam_3h: [98×1 double]
viscosity_lam_4h: [81×1 double]
viscosity_lam_5h: [64×1 double]
viscosity_lam_6h: [55×1 double]
viscosity_lam_7h: [50×1 double]
viscosity_lam_8h: [40×1 double]
viscosity_lam_9h: [36×1 double]
gamma_0h: [33×1 double]
gamma_1h: [163×1 double]
gamma_2h: [120×1 double]
gamma_3h: [98×1 double]
gamma_4h: [81×1 double]
gamma_5h: [64×1 double]
gamma_6h: [55×1 double]
gamma_7h: [50×1 double]
gamma_8h: [40×1 double]
gamma_9h: [36×1 double]
dx_velocity_dx_0h: [33×1 double]
dx_velocity_dx_1h: [163×1 double]
dx_velocity_dx_2h: [120×1 double]
dx_velocity_dx_3h: [98×1 double]
dx_velocity_dx_4h: [81×1 double]
dx_velocity_dx_5h: [64×1 double]
dx_velocity_dx_6h: [55×1 double]
dx_velocity_dx_7h: [50×1 double]
dx_velocity_dx_8h: [40×1 double]
dx_velocity_dx_9h: [36×1 double]
dy_velocity_dx_0h: [33×1 double]
dy_velocity_dx_1h: [163×1 double]
dy_velocity_dx_2h: [120×1 double]
dy_velocity_dx_3h: [98×1 double]
dy_velocity_dx_4h: [81×1 double]
dy_velocity_dx_5h: [64×1 double]
dy_velocity_dx_6h: [55×1 double]
dy_velocity_dx_7h: [50×1 double]
dy_velocity_dx_8h: [40×1 double]
dy_velocity_dx_9h: [36×1 double]
dx_velocity_dy_0h: [33×1 double]
dx_velocity_dy_1h: [163×1 double]
dx_velocity_dy_2h: [120×1 double]
dx_velocity_dy_3h: [98×1 double]
dx_velocity_dy_4h: [81×1 double]
dx_velocity_dy_5h: [64×1 double]
dx_velocity_dy_6h: [55×1 double]
dx_velocity_dy_7h: [50×1 double]
dx_velocity_dy_8h: [40×1 double]
dx_velocity_dy_9h: [36×1 double]
dy_velocity_dy_0h: [33×1 double]
dy_velocity_dy_1h: [163×1 double]
dy_velocity_dy_2h: [120×1 double]
dy_velocity_dy_3h: [98×1 double]
dy_velocity_dy_4h: [81×1 double]
dy_velocity_dy_5h: [64×1 double]
dy_velocity_dy_6h: [55×1 double]
dy_velocity_dy_7h: [50×1 double]
dy_velocity_dy_8h: [40×1 double]
dy_velocity_dy_9h: [36×1 double]
  2 Comments
Mathieu NOE
Mathieu NOE on 5 Jul 2022
My pleasure !
if my suggestion has fullfilled your requirements , would you mind accepting my answer ?
thanks !

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!