已回答
How can find column wise similarity of two matrix?
Just use idx = find(all(A == B)) idx = 2 7

4 years 前 | 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...

4 years 前 | 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...

4 years 前 | 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)...

4 years 前 | 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...

4 years 前 | 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 ...

4 years 前 | 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 ...

4 years 前 | 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...

6 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答