Feeds
質問
how to calculate the maximum of different parts of a vector without using a for loop?
Hi! I have a vector H, which is separated in different events of known size, i.e. s=[2,5,7,2,...] and I want to find the maxi...
13年以上 前 | 5 件の回答 | 0
5
回答回答済み
how to calculate the maximum of different parts of a vector without using a for loop?
Thanks! But I did it and as Robert suggested, this is not faster. Actually with the loop is the fastest option. THanks anyway...
how to calculate the maximum of different parts of a vector without using a for loop?
Thanks! But I did it and as Robert suggested, this is not faster. Actually with the loop is the fastest option. THanks anyway...
13年以上 前 | 0
回答済み
split a vecor into several parts (of different sizes) to later fill a matrix.
Thank you for all the comments! I actually compared the for loop option with mat2cell+padcat and the loop is faster as some o...
split a vecor into several parts (of different sizes) to later fill a matrix.
Thank you for all the comments! I actually compared the for loop option with mat2cell+padcat and the loop is faster as some o...
13年以上 前 | 0
質問
split a vecor into several parts (of different sizes) to later fill a matrix.
Hi! I have a vector V and I want to split it in several parts of different known sizes (in the example below, the sizes would...
13年以上 前 | 4 件の回答 | 1