
stg = sprintf(formatSpec,B1,...,Bn) use to formats the data in an array with the help of formatting operators which is specified by formatSpec in MATLAB and returns the resulting text in a define variable(stg) then stg known as output and otherwise stg is an character.MATLAB Program for...