Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Just as you can read in values from a text file to a matrix, you can also write a matrix to a text file. The function for this is call dlmwrite. Consider the following line of code:

dlmwrite('output_file.txt', A , 'delimiter', ' ')Image Added

Output Important Values in Command Window

...