![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/23123232_1626465513169_DEF.jpg)
Asaad Abboud Alkhalaf
Followers: 0 Following: 0
Feeds
已回答
Subscript indices must either be real positive integers or logicals. where I have to change or update the code
instead of for n =linspace(1,2,length(x)) use for n= 1:2:length(x) if you want vector with elements spaced by 2 or for n=1...
Subscript indices must either be real positive integers or logicals. where I have to change or update the code
instead of for n =linspace(1,2,length(x)) use for n= 1:2:length(x) if you want vector with elements spaced by 2 or for n=1...
3 years 前 | 0
已回答
Index in position 1 is invalid. Array indices must be positive integers or logical values problem
i-1 = 0 and this can not be array indices it has to be 1 , 2, 3, .......
Index in position 1 is invalid. Array indices must be positive integers or logical values problem
i-1 = 0 and this can not be array indices it has to be 1 , 2, 3, .......
3 years 前 | 0