dispDisplay data without showing its variable name
disp(A)A can be of any data type.\n, are not supported.A without showing its variable name.num2str() for displaying a number.disp(['The interest rate is' blanks(1) int2str(3) '%'])
The interest rate is 3%
disp(randi(10,1,5))
8.000 4.000 10.00 9.000 10.00
disp(true(1,5))
1 1 1 1 1
f = @(x) x + 1;
disp(f)
@(x)x+1