Julia Tutorial: Array Slicing

Array slicing in Julia differs a bit from Matlab.
In Matlab, everything is an array; even a scalar is a 1x1 array.
In Julia, there are distinct data types for scalars, vectors, AdjointVectors and Arrays.
This notebook illustrates how those differences affect array slicing.
For rationale, see the "Dimension sum slices" section under this blog:
https://julialang.org/blog/2016/10/julia-0.5-highlights
Jeff Fessler, University of Michigan
2017-07-24, original
2020-08-05, Julia 1.5.0
2021-08-23, Julia 1.6.2