array input in matlab function. There are any references about array input in matlab function in here. you can look below.