how can delete a part of image name?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
aya ben mabrouk
il 20 Mag 2016
Commentato: aya ben mabrouk
il 21 Mag 2016
Hello everyone, I have a folder data that contains a list of images named as follow :
AHTD3A0001_Para1.tif
AHTD3A0002_Para1.tif
AHTD3A0003_Para1.tif
.
.
AHTD3A1012_Para1
I want to delete the first part of image name ( AHTD3A) in order to replace image names such as :
0001_Para1.tif
0002_Para1.tif
0003_Para1.tif
.
.
AHTD3A1012_Para1
please any suggestion for matlab code and thanks in advance
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 20 Mag 2016
str={'AHTD3A0001_Para1.tif'
'AHTD3A0002_Para1.tif'
'AHTD3A0003_Para1.tif'}
out=strrep(str,'AHTD3A','')
5 Commenti
Azzi Abdelmalek
il 21 Mag 2016
F is the folder where your images are stored, for example
F='C:\document'
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!