I need help with this

7 views (last 30 days)
Mia
Mia on 8 Oct 2019
Answered: Image Analyst on 8 Oct 2019
How do I read a matrix of numbers from a file into my program, with the data arranged in rows and columns matlab.
  2 Comments
Ankit
Ankit on 8 Oct 2019
which file (xlsx, csv, mat etc)?
Mia
Mia on 8 Oct 2019
A text file.

Sign in to comment.

Answers (2)

Star Strider
Star Strider on 8 Oct 2019
See the documentation section on Data Import and Export and Data Import and Analysis.

Image Analyst
Image Analyst on 8 Oct 2019
Try csvread() or dlmread() or readtable() or importdata().

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!