PDA

View Full Version : Problem on display matrices


yeongchuan88
Dec1-10, 03:00 AM
[input_pattern, input_class]=loading(file_name,no_sample,no_vector);

input_pattern and input_class are 60 X 60 matrices, how can I display these matrices ?

Thank you.

MATLABdude
Dec2-10, 08:10 PM
You'll have to let us know what language / program this is in. If this is MATLAB, all you need to do do display is to type the variable name. For instance:

>> input_pattern

will display the 60x60 matrix. However, using the semicolon ';' suppresses display. Typing the following in MATLAB won't display the matrix:

>> input_pattern;