Question

Program an algorithm on matlab

Dear members Can you help to program this part of algorithm on Matlab

alrededor de 1 mes ago | 0 answers | 0

Question

From an algorithm to Matlab code

Dear members; I have this algorithm that I try to program it on Matlab I tried to program the first part (Initialization) bu...

alrededor de 1 mes ago | 0 answers | 0

Question

Repeat While loop with the final result (Matlab)

Dear members I have this while loop I want to modify the program in order when L in not equal to 0, the while loop must repe...

alrededor de 2 meses ago | 1 answer | 0

Question

for loop doesn't repeat the operation (Matlab)

Dear members I have a program in which I don't have errors when running it, but it doesn't repeat the operation n=n+1 when the ...

alrededor de 2 meses ago | 1 answer | 0

Question

Obtaining how many times a number is repeated (Matlab)

Dear members; I have vector S=[0 1 1 0 1] in which the position L of ones is L=find(S==1); So L=[2,3,5] I have also Bi (i=1:...

alrededor de 2 meses ago | 1 answer | 0

Question

Detect the error position in a vector and correct it (Matlab)

Dear members; I have the code word C of length 'M' and I have also the received vector V after decoding of the same length 'M' ...

alrededor de 2 meses ago | 1 answer | 0

Question

How to generalize code with many cases (Matlab)

Dear members; I have this Matlab code for ess=1:n % 'n' is the number of cases (here n=4) switch ess case 1 ...

alrededor de 2 meses ago | 1 answer | 0

Question

Shifting vectors with the same matrix using 'for' loop

Dear members I have a matrix of dimensions 10*20 And I have the vector I have the main program that I use for my need. But...

alrededor de 2 meses ago | 1 answer | 0

Question

Change matrix bits depending on the rate (Matlab)

Dear members; I have matrix of B*C dimensions. and I have to write a program that verify if the final bits are '0' or '1'. If ...

alrededor de 2 meses ago | 1 answer | 0

Question

How to change a bit of matrix from 0 to 1

Dear members, I have a matrix and I have to write a program that verify if the final bits are '0' or '1'. If final bits are '0...

2 meses ago | 1 answer | 0

Question

How to shift a vector using 'for' loop

Dear members Firstly,I have many vectors for example (V1, V2, V3, V4 ...) of M length. How can I use 'for' loop to obtain firs...

2 meses ago | 1 answer | 0

Question

How to create null vector Matlab

Dear members I have matrix with size M*N and vector with size 1*K I want to create a null vector with length of N - length of ...

3 meses ago | 1 answer | 0

Question

While loop for testing the end of vector (Matlab)

Dear members, If we have a long vector that we don't know its length, and we want use while loop to repeat the task than stop a...

3 meses ago | 2 answers | 0

Question

Shifting columns in matrix Matlab

Dear members, I have a matrix in which its tril and triu are zeros And I want to shift up its rows How can I program it in Ma...

3 meses ago | 2 answers | 0

Question

How to extract values from columns in a matrix

Dear members I have this matrix (5*5) for example H=[0 0 0 0 0; 0 1 0 0 0; 1 1 0 0 0; 1 0 1 0 0; 1...

3 meses ago | 1 answer | 0