summation of two different loops

1 view (last 30 days)
phoenix
phoenix on 4 Aug 2017
Commented: phoenix on 4 Aug 2017
Can i add two different loops consisting of two different series?
  2 Comments
Jan
Jan on 4 Aug 2017
The question is not meaningful: You cannot add the loops itself. Loops are programming constructs. An addition is defined for data. Do you mean "joining" the lopps or adding the results? Please edit the question and post the relevant code.
phoenix
phoenix on 4 Aug 2017
I mean adding the results.

Sign in to comment.

Answers (1)

Sudharsana Iyengar
Sudharsana Iyengar on 4 Aug 2017
If the vectors generated are of same size then you can add them. It is not clear what you mean by loop. Do you mean for loops. what is it?

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!