How to Alter Matrices and Functions in MATLAB
- 1). Open the MATLAB file whose matrices and functions you wish to alter.
- 2). Double-click the matrix or function you want to edit to activate it, and place your cursor inside the matrix or function.
- 3). Click or use the arrow keys to navigate to the portion of the matrix or function you want to edit, and alter it as required by deleting or adding information.
- 4). Click outside of the matrix or function when finished to save the changes, then click the "Save" button to save the file.
Source...