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

댓글 수: 2

Ankit
Ankit 2019년 10월 8일
which file (xlsx, csv, mat etc)?
Mia
Mia 2019년 10월 8일
A text file.

댓글을 달려면 로그인하십시오.

답변 (2개)

Star Strider
Star Strider 2019년 10월 8일

1 개 추천

See the documentation section on Data Import and Export and Data Import and Analysis.
Image Analyst
Image Analyst 2019년 10월 8일

1 개 추천

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

카테고리

질문:

Mia
2019년 10월 8일

답변:

2019년 10월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by