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 Comments

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

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 8 Oct 2019

1 vote

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

Categories

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

Asked:

Mia
on 8 Oct 2019

Answered:

on 8 Oct 2019

Community Treasure Hunt

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

Start Hunting!