## Delete MATLAB #2: Slice Notation

Part 2 in an irregular series about migrating from MATLAB to Python. Slice notation allows you to quickly take a subset of a vector or matrix, by using a short expression in place of the indices. In MATLAB you may be familiar with >> a = [1,2,3,4,5,6,7,8,9,10]; >> a(3:7) ans = 3 4 5 6 … [Read more…]