What are local and Global variables? And how many input variables can a MATLAB function have ?

What are local and Global variables? And how many input variables can a MATLAB function have ?

find the cost of your paper