MATLAB: Printing a character n times print Is it possible to print a '.' (i.e..a dot) n times without using a loop? I have a loop that waits for a response and I want the number of dots to be printed indicating what number loop its in Thanks Jason Best Answer s = repelem('.',1,10) ;fprintf('%s\n',s) Related SolutionsMATLAB: Printing the literal characters \n instead of a new line fprintf(fmst,'txt = string.join( (''Elapsed_Time: '',str(te),''\\n'') )\r\n'); MATLAB: String manipulation with printing of characters hintfprintf('%s : ''%s''\n', t, t(1)) Related QuestionHow to print variables in command window with messagePrinting AxesFprintfString and character array not properly printing
Best Answer