Example: Following command creates a structure with various fields with different data types.
struct('ifData', zeros(1, 1000), 'fSamp', 10e6, 'fif',0.42e6, 'noOfBits',16,'complexOrReal','complex','prn',10)
>> struct('ifData', zeros(1, 1000), 'fSamp', 10e6, 'fif',0.42e6, 'noOfBits',16,'complexOrReal','complex','prn',10)
ans =
ifData: [1x1000 double]
fSamp: 10000000
fif: 420000
noOfBits: 16
complexOrReal: 'complex'
prn: 10
No comments:
Post a Comment