Consider a matrix A(i,j)(adsbygoogle = window.adsbygoogle || []).push({});

What I want to do example:

A= [1 2 3; 4 5 6; 7 8 9]

I want to to display

1

2

3

4

5

6

7

8

9

I will then save it to a file; I know how to do that. But how do I get matlab to display the individual elements sequentially?

Thank you.

*edit*

Nevermind figured it out...

i.e. A(1,1)=1

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB print individual elements of a matrix

**Physics Forums | Science Articles, Homework Help, Discussion**