Feeds
提问
For loop indexing issue
The relevant code is: for ii = 1:v if v(ii) ~= a y = [v(ii)] elseif v(ii) == a y = [y ...
10 years 前 | 1 个回答 | 0
1
个回答提问
How to cycle through a vector in function?
I've defined a row vector 1:10, then use randi(10). Say from randi(10) I got five; I want the program to output 5, 6, 7, 8, 9, 1...
10 years 前 | 1 个回答 | 0