Filter löschen
Filter löschen

Find index of array of cell

2 Ansichten (letzte 30 Tage)
Farshid Daryabor
Farshid Daryabor am 17 Feb. 2020
Bearbeitet: Adam Danz am 17 Feb. 2020
I really thanks tell me how can I find index of arrays assigned with 'F' and then delete the files corresponding to 'F' .
Thanks

Akzeptierte Antwort

Adam Danz
Adam Danz am 17 Feb. 2020
Bearbeitet: Adam Danz am 17 Feb. 2020
If you want to delete the file names from the files array....
load('example.mat')
select = strcmp(out, 'F');
files(select) = [];
% or
% files(select) = {''}; % replace with empty

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by