4

Script, function files and some useful MATLAB® functions

The commands discussed in previous chapters were executed in the Command Window; they were not saved, and cannot be re-used. Another disadvantage of the Command Window is that correction is possible only on the last line executed.

When one of the sequence commands needs to be corrected, all its predecessors have to be re-executed and the command then corrected, after which all subsequent commands must be repeated to obtain the final result. Moreover, every time a calculation needs to be repeated, all commands have to be retyped and re-entered. This is inconvenient, and the reader who has perused the preceding chapters has undoubtedly experienced it. The remedy lies in writing all commands ...

Get Matlab® in Bioscience and Biotechnology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.