help! array, data and textdata

조회 수: 2 (최근 30일)
Cristina
Cristina 2012년 6월 14일
How can I aggregate non numerical and numerical data in the same dataset? I have to create a function and make computations conditional to a list of variables (country, duration bucket). When I import the excel dataset in matlab it create separate textdata and data in my workspace. I created and array but then I can't manage to make computation. What is the correct way to proceed? Do I have to convert numerical/non numerical values?

답변 (1개)

Benjamin Schwabe
Benjamin Schwabe 2012년 6월 15일
You might try a structure or a cell array. I would try the cell array in your case.
Benjamin

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by