The variables may be of type float, Int, char etc.
Example Program :
%% Check the class of the variables
%% Assign float value to the A
A = 3.055;
%% Display the class of A
class(A)
%% Assign the Int value to B
B=3
%% Display the Class of B
class(B)
%% Assign the char value to c
C='hello'
%% Display the Class of c
class(C)
Example Program :
%% Check the class of the variables
%% Assign float value to the A
A = 3.055;
%% Display the class of A
class(A)
%% Assign the Int value to B
B=3
%% Display the Class of B
class(B)
%% Assign the char value to c
C='hello'
%% Display the Class of c
class(C)
No comments:
Post a Comment