Versions Compared

Key

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

...

Key point: MATLAB starts counting the rows and colums at 0 rather than 1. So the first row is 0, second row is 1 and so on. The same thing applies to columns also. See below for an input with n rows and m columns. (i, j) are the row, column coordinates.

Wiki Markup
{{\[ (0,0) (0,1) (0,2)...(0,m-1) \]

...

Wiki Markup
\[(n-1,0) \_________\_ \_(n-1,m-1)\]}}

Wiki Markup
Once again, edit _beam4.m_. Now, use the dlmread command with the delimiter and range inputs to extract both A and B at the same time. The delimiter should be '', the range should be \[0 0 1 1\] for A and \[2 0 3 0\] for B. Remember to add your semi-colons.

...