Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Write Loop Output Matlab into Excel

1 visualización (últimos 30 días)
Abed Nego Lubis
Abed Nego Lubis el 30 de Abr. de 2018
Cerrada: Walter Roberson el 30 de Abr. de 2018
Hi, I have code below
imagefiles1 = dir('DataBad\*.jpg');
nfiles1 = length(imagefiles1); % total number of files found
for ii=1:nfiles1 % loop for each file
currentfilename = imagefiles1(ii).name;
currentimage = double(imread(['DataBad\' currentfilename]));
nlevel{ii} = NoiseLevel(currentimage);
fprintf(currentfilename+"\n");
fprintf('noise level : %f \n\n',nlevel{ii});
end
The output is in command window
>> noisedemo1
Ulosbad1.JPG
noise level : 1.047871
noise level : 0.993485
noise level : 1.100477
Ulosbad2.JPG
noise level : 1.477921
noise level : 1.518547
noise level : 1.454711
Ulosbad3.JPG
noise level : 1.099398
noise level : 1.095097
noise level : 1.098477
Ulosbad4.JPG
noise level : 0.891254
noise level : 0.887764
noise level : 0.893476
How i write the output to excel so the format be like this :
  1 comentario
Walter Roberson
Walter Roberson el 30 de Abr. de 2018
Duplicates https://www.mathworks.com/matlabcentral/answers/398142-write-loop-output-matlab-into-excel

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by