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

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)

Image Analyst
Image Analyst on 8 Oct 2019

1 vote

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

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!