필터 지우기
필터 지우기

Load Vs Readtable Vs array

조회 수: 16 (최근 30일)
Thallon Pitchure
Thallon Pitchure 2020년 10월 3일
댓글: Thallon Pitchure 2020년 10월 8일
Hello!
I was wondering if anyone could better explain the difference of readtable, load and an array. I have looked at the functions on the website but I could not fully comphrend the difference and the purpose/use of the functions.
I would greatly appreciate any help. Please and thank you!!!

채택된 답변

Kiran Felix Robert
Kiran Felix Robert 2020년 10월 8일
Hi Thallon,
Load – is used to load data from a file into MATLAB Variables. Any MAT-file or ASCII file can be used as arguments to Load. It assigns the data in the files as separate variables. This can load various data types such as Array, Matrices, Structures from the MAT File
Readtable function is used to specifically load column-oriented data. Furthermore, this function loads the data in a Tabular Form. Refer to MATLAB Tables Documentation. This is used to load data from a spreadsheet file or a text file. This function also supports reading column-oriented data from a lot of other formats as described in the readtable documentation.
Array is a fundamental MATLAB datatype.
Kiran Felix Robert
  댓글 수: 1
Thallon Pitchure
Thallon Pitchure 2020년 10월 8일
Thank you so very much!!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by