Practical 3: Arrays

Arrays

Stopping Calculations

Ctrl+c (read: control c): command to stop execution of the code at any time. You will need to press at the same time both ‘Ctrl’ and ’c’ keys on the keyboard

; (called semi-colon): suppresses the appearance of an unnecessary output when typed at the end of the command line

> Type in the following command and see what happens.

[1:0.0001:1000]

> Press Ctrl + c to stop the calculations!

> Type in the same line again, but this time add a semi-colon at the end.

[1:0.0001:1000];