How Can I Display 60x60 Matrices in MATLAB?

  • Context: MATLAB 
  • Thread starter Thread starter yeongchuan88
  • Start date Start date
  • Tags Tags
    Matrices
Click For Summary
SUMMARY

The discussion focuses on displaying 60x60 matrices in MATLAB. To display the matrices, users simply need to type the variable name, such as input_pattern, in the command window. It is important to note that appending a semicolon (;) after the variable name suppresses the output, preventing the matrix from being displayed. This straightforward method allows for quick visualization of matrix data in MATLAB.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of matrix data structures
  • Basic knowledge of command window operations in MATLAB
  • Experience with variable assignment in MATLAB
NEXT STEPS
  • Explore MATLAB's matrix manipulation functions
  • Learn about visualizing data using MATLAB plotting tools
  • Investigate MATLAB's command window features and shortcuts
  • Study advanced matrix operations in MATLAB for data analysis
USEFUL FOR

This discussion is beneficial for MATLAB users, data scientists, and engineers who need to visualize matrix data efficiently within the MATLAB environment.

yeongchuan88
Messages
4
Reaction score
0
[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.
 
Physics news on Phys.org
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;
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 9 ·
Replies
9
Views
5K
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
810
Replies
5
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K