Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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