syntax error: function fspan expects 3 arguments, got 2.syntax error: possibly an undefined procedure.Assignment type mismatch, right hand side can't be coerced to type of left hand side.Number of subscripts on right-hand-side do not match number of dimensions of variable: (4), Subscripts used: (3).