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

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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)...

2年以上 前 | 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...

2年以上 前 | 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 ...

2年以上 前 | 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 ...

3年弱 前 | 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...

約5年 前 | 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 ...

5年以上 前 | 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...

5年以上 前 | 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....

5年以上 前 | 1 件の回答 | 0

1

回答