![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/es434sussexacuk_1520874716727_DEF.jpg)
Esme Stanford-Durkin
Followers: 0 Following: 0
Feeds
已回答
Create for loop to simplify code and output arrays
Solution, array to cell needed: ch = a(1); len = a(4); st = 5 ; y{1} = a(st: st+len-1); for i = 2 : ch len(i) ...
Create for loop to simplify code and output arrays
Solution, array to cell needed: ch = a(1); len = a(4); st = 5 ; y{1} = a(st: st+len-1); for i = 2 : ch len(i) ...
4 years 前 | 0
| 已接受
已回答
Create for loop to simplify code and output arrays
a is an array containing all the data from the text file a(1) is the number of 'channels' (number of y outputs), so in my initi...
Create for loop to simplify code and output arrays
a is an array containing all the data from the text file a(1) is the number of 'channels' (number of y outputs), so in my initi...
4 years 前 | 0
提问
Create for loop to simplify code and output arrays
I have this code: len1 = a(4); st1 = 5; % starting index for first channel y1 = a(st1: st1+len1-1); len2 = a(st1+len1); ...
4 years 前 | 3 个回答 | 0