How to merge the three mat files?
Mostrar comentarios más antiguos
I have three mat files. I wan a new mat file to which I want to copy the data of all these 3 mat files except the variables for which first I want to merge their data and then store that merged data in that new mat file. The variables for which I want merging their data are:
1- All "one1" variables in a single variable
2- All "two" variables in a single variable
3- All "time" variable in a single variable
3 comentarios
What exactly does "merge" mean to you? Concatenation or interpolation or subsampling or getting the max/min values or zip alternating values together or something else? If you do not define "merge" then we have to guess what you want.
How do you want to handle (for example) Noise ? You want to copy the data of the three mat files, so you want to copy Noise. Should we assume that all the values are the same between the mat files except for one1 two and time ? Should we produce (for example) Noise1 Noise2 Nois3 ?
whos -file a1
whos -file a2
whos -file a3
Sadiq Akbar
el 5 de Mzo. de 2024
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Cell Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!