how to get first item in an array matlab code example
Example: get first and last element of array matlab
Indicating indexes between ([]) retrieves corresponding values in Matlab.
array_borders=array([1 end])
As end defines the size of the array, retrieve its first and last border values