reading from txt file and using repmat for single column of the matrix
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a dataset that has columns A and B separated by tab. I need to do the following: 1. Read the txt file using Uigetfile. 2. Remove the first 4 lines and last 10 lines from the dataset. 3. Repmat column 2, 10 times so that the new dataset will have 11 columns. 4. Write the new dataset into a file.
thanks for inputs.
Réponses (2)
Voir également
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!