View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12829 Members
Join this group to post and comment.
PAWAN MEHRA
PAWAN MEHRA • Jul 28, 2015

What is the program code to find the graph of (a+b)^n in Matlab?

please reply if anyone knows
Jeffrey Arulraj
Jeffrey Arulraj • Jul 28, 2015
so what is the value of n

Cos with out knowing what is n we cant help you in this

If n is not assigned it is not possible to print a plot for it
PAWAN MEHRA
PAWAN MEHRA • Jul 28, 2015
Jeffrey Samuel
so what is the value of n

Cos with out knowing what is n we cant help you in this
If n is not assigned it is not possible to print a plot for it
value of n=3
can we draw the graph if the value of n=x+y or x-y.
x and y can take any integer value so at every point value of n is known due to the availability of x and y at that point.
Jeffrey Arulraj
Jeffrey Arulraj • Jul 29, 2015
Actually this is not OOPS where u can take values from the user at run time.
But if you are assigning value in your program itself na then its perfectly fine and you can use it as mentioned earlier

Share this content on your social channels -