


ind2sub(s,index) : get indexed element in an iData array
@iData/ind2sub is equivalent to accessing directly the indexed element in arrays,
except when the array is of lenght 1.
When length(s) is 1, s(1) would return s itself,
whereas ind2sub(s,1) returns the first element of its 'Signal',
input: s: object or array (iData)
index: index in array
output: s(index)
ex : ind2sub(s, 1)
Version: Nov. 27, 2018
See also iData, iData/disp, iData/get, iData/size