...
This commit is contained in:
parent
051504d65b
commit
0457928c3e
295 changed files with 3588 additions and 3 deletions
24
Task/Collections/MATLAB/collections.m
Normal file
24
Task/Collections/MATLAB/collections.m
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
>> A = {2,'TPS Report'} %Declare cell-array and initialize
|
||||
|
||||
A =
|
||||
|
||||
[2] 'TPS Report'
|
||||
|
||||
>> A{2} = struct('make','honda','year',2003)
|
||||
|
||||
A =
|
||||
|
||||
[2] [1x1 struct]
|
||||
|
||||
>> A{3} = {3,'HOVA'} %Create and assign A{3}
|
||||
|
||||
A =
|
||||
|
||||
[2] [1x1 struct] {1x2 cell}
|
||||
|
||||
>> A{2} %Get A{2}
|
||||
|
||||
ans =
|
||||
|
||||
make: 'honda'
|
||||
year: 2003
|
||||
Loading…
Add table
Add a link
Reference in a new issue