Domanda

Array manipulation: Suppose you have an array.How to take windows with overlapping along column and repeat to next doing same
for example a= [1 2 3 4 5; 4 7 9 1 5; 8 7 3 2 1; 3 2 9 1 7] so what is requ...

circa 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

if a=[1,2,3,4] how can i get b=[ (1+2),(1+3),(1+4),(2+3),(2+4),(3+4) ] using for loops,Thanks
a=[1,2,3,4] b=[ (1+2),(1+3),(1+4),(2+3),(2+4),(3+4) ]

circa 6 anni fa | 2 risposte | 0

### 2

risposte

Domanda

How to take elements row wise or column wise in a 2d array
A is a 5*5 array. Its needed to take 7 elements along the 1st column and 2 from the beginning of 2nd column.So the window size ...

circa 6 anni fa | 1 risposta | 0

### 1

risposta

Domanda

i have a vector x=[1 2 3 1 4 4.3 3 3.7 4.8],consider a variable k=4:0.2:5, how many values of x are greater than k(i.e) so the output will show [2 1 1 0 0]
i have a vector x=[1 2 3 1 4 4.3 3 3.7 4.8], consider a variable k=4:0.2:5, I need to find how many values of x are greater ...

oltre 6 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Help setting the lower threshold for filter....
THANKS FOR YOUR TIME FIRST. PLS HELP ME OUT I HAVE BEEN STUCK HERE FOR A LONG TIME Here is a function that i wrote to detect ...

oltre 6 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Hello how can I repeat this signal ten times periodically .How to use repmat in this case
q=inline(['mod(t,1)*1.*(mod(t,1)<1/3) +', '((mod(t,1)*-1+1).*((mod(t,1)>=1/3) & (mod(t,1)<2/3)) +','((mod(t,2)*2-2).*((mod(t,1...

oltre 6 anni fa | 0 risposte | 0

risposte