disp( )

disp( ) function in Matlab


Syntax:           disp(x)


Description:   disp(x) displays the contents of x without printing the variable name.


Note:   disp does not display empty variables.






Code :

% Matlab Function - disp
% Syntax : 
% disp(X)

% X is an array
X = [1, 0;
    200, 30;
    19, 10];

% Function
disp(X);






No comments:

Post a Comment