![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7208644_1522120488728_DEF.jpg)
Stefano Francavilla
自 2017 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
Hi. I have a two-dimensional array Z of size 10x15, and two vectors, A = [1 2 4] and B = [3 2 1]. Using A and B, I want to access the following elements in Z: Z(1,3), Z(2,2), Z(4,1) only
I think you get a submatrix where the elements you are looking for are in the main diagonal: use diag(Z(A,B))
Hi. I have a two-dimensional array Z of size 10x15, and two vectors, A = [1 2 4] and B = [3 2 1]. Using A and B, I want to access the following elements in Z: Z(1,3), Z(2,2), Z(4,1) only
I think you get a submatrix where the elements you are looking for are in the main diagonal: use diag(Z(A,B))
7 years 前 | 0
| 已接受
提问
How to convert 'findpeaks' function using HDL coder?
Hi, I need to find local maxima and their positions in a vector. The function 'findpeaks' is not supported for hdl code generati...
7 years 前 | 0 个回答 | 0
0
个回答已回答
Max Peak Distance (findpeaks)
I wrote this code, it isn't elegant but I hope could be helpful. %% 1st step - Find a large amount of peaks with non-string...
Max Peak Distance (findpeaks)
I wrote this code, it isn't elegant but I hope could be helpful. %% 1st step - Find a large amount of peaks with non-string...
7 years 前 | 0
提问
Max Peak Distance (findpeaks)
Hi, I'm using the 'findpeaks' function and i want to insert a min and max limit to the distance between the peaks. In the functi...
7 years 前 | 2 个回答 | 0