# Kill spin.m

Jump to: navigation, search

Removes the specified spins from the spin_system structure and updates all internal structures accordingly. Syntax:

             spin_system=kill_spin(spin_system,hit_list)


where hit_list is a vector of integers or a logical matrix giving the numbers of spins to be removed from the system.