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

más de 2 años hace | 0

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

más de 2 años hace | 0

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 5 años hace | 1 respuesta | 0

1

respuesta