matrix, cell array, and table
7 views (last 30 days)
Show older comments
I try to understand the basics.
- Can 'matrix' have non-numerical data?
- What is the difference of a matrix of numbers and a cell array of numbers?
- Is it correct to say that a table is a generalization of a matrix that can include non-numerical data?
0 Comments
Accepted Answer
KSSV
on 19 Jun 2020
Can 'matrix' have non-numerical data?
No matrix cannot have a non-numerical data. Eleemnts are accessed by matrix(i,j)
What is the difference of a matrix of numbers and a cell array of numbers?
A cell array can have non-numerical data, arrays of different sizes, matrices of different sizes. They will be accessed by {}.
Is it correct to say that a table is a generalization of a matrix that can include non-numerical data?
It need not be.
5 Comments
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!