hari
Followers: 0 Following: 0
Feeds
已回答
I have a list of 120 elements in a column, and I need to sum each 12 elements and then sum together the next 12 so from the 120 values I will have 12 different sum values.
sum = 0; temp = 0; totalSum = []; for i = 1:length(c) sum = sum+c(i); temp = temp+1; if (temp == 12) ...
I have a list of 120 elements in a column, and I need to sum each 12 elements and then sum together the next 12 so from the 120 values I will have 12 different sum values.
sum = 0; temp = 0; totalSum = []; for i = 1:length(c) sum = sum+c(i); temp = temp+1; if (temp == 12) ...
5 years 前 | 0
已回答
How can I find 'Compare to Constant' Blocks by using find_system? When I go explicit to the 'Compare to Constant' Block, get_param('path of Compare to Constant','BlockType'); gives "SubSystem" and not "Compare To Constant". (Matlab R2010b))
@Robin Leuering ,you can use its parameters to find the block. syntax: find_system(sys.path{1,1},'MaskType','Compare To Consta...
How can I find 'Compare to Constant' Blocks by using find_system? When I go explicit to the 'Compare to Constant' Block, get_param('path of Compare to Constant','BlockType'); gives "SubSystem" and not "Compare To Constant". (Matlab R2010b))
@Robin Leuering ,you can use its parameters to find the block. syntax: find_system(sys.path{1,1},'MaskType','Compare To Consta...
5 years 前 | 0