Ernest Nachaki
Followers: 0 Following: 0
Feeds
已回答
How to find the index of the closest value to some number in 1D array ?
Try this index = fix(interp1(array,find(array),value));
How to find the index of the closest value to some number in 1D array ?
Try this index = fix(interp1(array,find(array),value));
2 years 前 | 0