Convert file to matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Maria Nogueira
el 13 de Dic. de 2020
Comentada: Maria Nogueira
el 13 de Dic. de 2020
I have this file , which is a text file:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/459820/image.png)
Basically I need to write a script that will open this file, read it, delete the first line and convert the rest to a matrix where the zeros outside the main diagonal become INF.
0 comentarios
Respuesta aceptada
Más respuestas (0)
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!