photo

Gon


Last seen: 3 years ago |  Active since 2023

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

1 Question
0 Answers

Cody

0 Problems
1 Solution

RANK
70,056
of 302,365

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,740

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
135,117
of 181,691

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Having trouble creating a for loop for this code. I want to use a for loop instead of having five commands as seen in the code.
a = load ( 'r.dat'); b = load ( 'f.dat'); c = load ( 'g.dat'); d = load ( 'l.dat'); e = load ( 'x.dat');

3 years ago | 1 answer | 0

1

answer

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years ago