MATLAB Answers

help! array, data and textdata

5 views (last 30 days)
Cristina
Cristina on 14 Jun 2012
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?

  0 Comments

Sign in to comment.

Answers (1)

Benjamin Schwabe
Benjamin Schwabe on 15 Jun 2012
You might try a structure or a cell array. I would try the cell array in your case.
Benjamin

  0 Comments

Sign in to comment.