changed function reference numstr to num2str