Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to read N number of .log files at a time?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have 4_0.log , 4_5.log, 5_0.log, 5_5.log..... files. How to read all these files and how to make average of the data each individual file?
clc
clear all
close all
format long
W = dlmread('10_0.log','%f',5,1);
E = 10.0
W = sum(W)/(numel(W))
0 comentarios
Respuestas (1)
Rik
el 9 de Jul. de 2019
Generate the file names with sprintf and loop over the files.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!