Question: how to use sprintf matlab?
Answer: Go to function: s = sprintf(format,A,...) formats the data in matrix A (and in any additional matrix arguments) under control of the specified format string, and returns it in the MATLAB string variable s .