답변 있음
How can find column wise similarity of two matrix?
Just use idx = find(all(A == B)) idx = 2 7

거의 5년 전 | 0

답변 있음
How to add 2 or 3 tables in column wise ?
% create four matrices of size 50*1 A = zeros(50,1); B = ones(50,1); C = zeros(50,1); D = ones(50,1); % arrange them colu...

거의 5년 전 | 0

답변 있음
How I can create this matrix with this logical operation?
I would do this like matA = [1 7000; 1.05 6500; 1.05 6800; 1.12 6400; 1.34 6700]; simdone = 1; row = 1; while (simdone == 1...

거의 5년 전 | 0

| 수락됨

답변 있음
Function that creates figures only?
If you only want to create plots then you can simply do it as following clc x = 0:pi/100:2*pi; y = sin(x); create_plots(x,y)...

거의 5년 전 | 0

질문


Find indices where runs of zeros and ones ends
Assuming that I have a vector H = [0 0 0 0 1 1 1 1 0 1 0 1 0 0 0 0 0]; I want to know the indices where long runs of 1's and 0...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Add particular elements of array
Let's say that k is a vector and k = [1 1 1 1 4 1 1]; k could be anything I just assumed [1 1 1 1 4 1 1]. Let's say there is ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to count alternating ones and zeros in a matrix
Lets just say that I have a matrix v as following: v = 0 0 0 0 0 0 1 1 0 1 1 ...

거의 5년 전 | 답변 수: 3 | 0

3

답변

질문


Color Shift Keying Demodulation
In Visible Light Communication, Color Shift Keying Modulation is done as shown in the block diagram The relation or equations t...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to solve equations
Eq1 : x = 2*pi + 1*pj + 3*pk Eq2 : y = 5*pi + 9*pj + 2*pk Eq3 : 1 = pi + pj + pk Let's say i have calculated pi,pk,pj ...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to create conditions according to the digital signal ?
If i have a digital signal and if first 2 bits are 10(i have designed the pulse to have 10 as first two bits), then xp and yp sh...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to solve equations with more unknowns
I want to write a code to find pi,pj and pk. How to solve these equations, all x and y terms are known. Eq1 : x=pi.xi + pj....

7년 초과 전 | 답변 수: 1 | 0

1

답변