MariaCC
0
Q:

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
0

New to Communities?

Join the community