Feeds
提问
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');
4 years 前 | 1 个回答 | 0
1
个回答已解决
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 前

