photo

Stefano Francavilla


Active since 2017

Followers: 0   Following: 0

Statistics

  • First Review
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
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))

ongeveer 7 jaar ago | 0

| accepted

Question


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...

ongeveer 7 jaar ago | 0 answers | 0

0

answers

Answered
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...

ongeveer 7 jaar ago | 0

Question


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...

ongeveer 7 jaar ago | 2 answers | 0

2

answers