Addition of Two Numbers MATLAB Program


Addition of two numbers is one of the simplest program in the whole matlab program. Here is the program for the addition of two numbers:

a=input(‘enter the first number ‘);
b=input(‘enter the second number ‘);
c=a+b

Just enter it into the screen and run the program.

If there is any problem in the program let me know with the correction.

Add Comment