Matlab uint8 sparse
问题 When creating a sparse matrix in Matlab it seems that you can create a sparse matrix either filled with logicals or double valued numbers. While reading around I understood that Matlab does not have support for other type of sparse matrices, i.e. uint8 or other integers. In my application I know that max(values)==16 , and the memory is a crucial thing, therefore I would like to have uint8 sparse matrices. Is there a way of creating a unit8 sparse matrix? If not (most likely), is there any