photo

Emmanuel


Last seen: 8 months ago Active since 2024

Followers: 0   Following: 0

Statistics

MATLAB Answers

0 Questions
1 Answer

RANK
245,083
of 300,331

REPUTATION
0

CONTRIBUTIONS
0 Questions
1 Answer

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
0

RANK
 of 20,920

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,124

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • First Answer

View badges

Feeds

View by

Answered
How can I solve this problem using for loop?
total = 0; x = [2,2,5,8]; n = length(x); for i =1:n-1 total = total + x(i)*x(i+1); end disp(total)

2 years ago | 0