in matlab, if input is a sensor structure, a matrix is returned
in matlab, if input is a sensor structure, a matrix is returned