I need help with this

How do I read a matrix of numbers from a file into my program, with the data arranged in rows and columns matlab.

2 commentaires

Ankit
Ankit le 8 Oct 2019
which file (xlsx, csv, mat etc)?
Mia
Mia le 8 Oct 2019
A text file.

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 8 Oct 2019

1 vote

Try csvread() or dlmread() or readtable() or importdata().

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by