txt file to matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have already filled the missing values with 0 and I want to create the matrix. how to do this?
Hi there. I have txt file with data (integers). My file has 140 rows with changing number of elements(numbers) (from 6 to 12)in each row. I want to convert this data to matrix. How can you help me? thanks a lot. Nelly
0 comentarios
Respuestas (1)
Ronald Kaptein
el 27 de Mzo. de 2012
Probably very simple, just use:
X=load('file.txt')
0 comentarios
Ver también
Categorías
Más información sobre Text Files 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!