photo

Stefano Francavilla


Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • First Review
  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

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

quasi 7 anni fa | 0

Domanda


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

quasi 7 anni fa | 2 risposte | 0

2

risposte