what if the precision on datenum is not allowing max comparison
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
temp(v)= allfiles(idx);
[~, index] = max([temp.datenum]);
files = [files;temp(index)];
instead of giving me the max from two files it returns both files even though datenum is different
any ideas??
2 comentarios
Steven Lord
el 4 de En. de 2023
which -all allfiles
which -all files
Without knowing what allfiles or files are (I can guess based on the names, but I could be wrong) it's going to be difficult if not impossible to offer any concrete suggestions.
the cyclist
el 4 de En. de 2023
Can you upload the data? You can use the paper clip icon in the INSERT section of the toolbar.
Respuestas (0)
Ver también
Categorías
Más información sobre Variables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!