필터 지우기
필터 지우기

How to create a load file with header and category?

조회 수: 1 (최근 30일)
Siti Suhaila
Siti Suhaila 2018년 8월 15일
댓글: Stephen23 2018년 8월 15일
Referring to fisheriris data set, I would like to create a Mat file that able to load in Matlab that comprises of numeric and a string value. Enclosed below are my data. I realize that in fisheriris there are two separate attributes (1) meas hold numeric / float data and (2)species hold string data. My question is how to do that? How to store two attributes within the load Mat file. Thank you in advance.
  댓글 수: 1
Stephen23
Stephen23 2018년 8월 15일
Some ideas:
  • use a table.
  • use a cell array (not recommended).
  • use separate arrays (simplest and most efficient).

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by