Output is printing twice in both command window as well as inside the plot. It is the same for fprintf and sprintf.
Example :
a=mean(x); fprintf('Mean=%f',a);
OUTPUT :
Mean=value Mean=value
How to solve this?
fprintfoutputsprintf
a=mean(x); fprintf('Mean=%f',a);
Mean=value Mean=value
Best Answer