can anyone please help me to find out the where is the mistake, i am a new learner .........
You have to define a function vecsum() like:
function y = vecsum(x)
for x= 0:1:10
because your answer is executed by calling function in test suite below. The function's name is decided by problem creater.
What is your code Sir?
If you write your code here, I can say where is the mistake.
Find the treasures in MATLAB Central and discover how the community can help you!
Select a Web
Choose a web site to get translated content where available and see local events and
offers. Based on
your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country
sites are not optimized for visits from your location.
Contact your local office