- #1
gfd43tg
Gold Member
- 950
- 50
Homework Statement
Write a line of MATLAB code that uses the cell array A to generate the string 'Cal Golden Bears'
Homework Equations
The Attempt at a Solution
Code:
A = {'Cal', 'Golden', 'Bears', [5 7], {[1 2 3 4]}}
A =
'Cal' 'Golden' 'Bears' [1x2 double] {1x1 cell}
The furthest I've gotten so far is A(1:3)
Code:
A(1:3)
ans =
'Cal' 'Golden' 'Bears'