提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 2 个回答 | 0

2

个回答

提问


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

8 years 前 | 1 个回答 | 0

1

个回答

提问


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

8 years 前 | 2 个回答 | 0

2

个回答

提问


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

8 years 前 | 0 个回答 | 0

0

个回答

提问


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

8 years 前 | 0 个回答 | 0

0

个回答