![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20156869_1603973602886_DEF.jpg)
Anders Tagmose Lundsfryd
Followers: 0 Following: 0
Feeds
質問
Finding array index for a given array element does not work all the time
Hello, I've been using the find(ismemeber()) function to find the index of an array element, however it does not work all the t...
12ヶ月 前 | 2 件の回答 | 0
2
回答回答済み
rounding elements in array to nearest 0.25
If you want to round to the nearest 0.25 both up and down, then do: %roudn to nearest 0.25 updown = round(in * 4)/4;
rounding elements in array to nearest 0.25
If you want to round to the nearest 0.25 both up and down, then do: %roudn to nearest 0.25 updown = round(in * 4)/4;
4年弱 前 | 4