Question: Solve using RECURSIVE FUNCTION AND MATLAB LANGUAGE only thank you. Write a program which asks a user to input a number and then finds the

Solve using RECURSIVE FUNCTION AND MATLAB LANGUAGE only thank you.

Write a program which asks a user to input a number and then finds the sum of digits of the number using recursion.

Example: Enter the number: 345 The Sum of digits of 345 is 12

Write a recursive function to add two arrays and print the result in reverse order.

Example Input array1: [1 2 3 4]

Input array2: [5 6 7 8]

Output: [12 10 8 6]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!