it is matlab course, could you explain the coding and theconcepts of it
a. Writea function, called digits_function that is able tocalculate the number of digits of an input and then adds all digitsto find their sum. The input of this function is Nand the outputs are number_digits andsum_digits. The input N should be requested in themain function and should be greater than 4 digits. Assume alldigits are over 0.
b. Write afunction, called average_function that calculateand prints the average of four numbers. The inputs of this functionare a, b and c and d. If one of the numbers
PayPal Gateway not configured
PayPal Gateway not configured