Community Profile

Juan Pérez Álvarez

Last seen: etwa 2 Monate ago Active since 2022

Content Feed

View by

Question

Repeat copies of array elements using for loop/while
Hi, I need create a code where the elements of an array are repeat: For example: % Create a simple vector: for i =1:4 Ve...

4 Monate ago | 1 answer | 0

1

Question

Delete rows from a matrix using for loop
Hello, I need delete the zero rows from a matrix using for loops/while, I try this: Matrix = [1,1 ; 1,2 ; 0,0 ; 0,0 ; 3,1 ; ...

4 Monate ago | 2 answers | 0

2

Question

Delete rows from a matrix using for loop
Hello, I need delete rows from a matrix based on a logical condition of an array using for loops: I need delete rows from thi...

4 Monate ago | 1 answer | 0

1

Question

Delete zeros from an array using for loops
Hi I need delete zero elements of an array. Note: I know theres a lot of way to complete this task. Example: A = [1,0,2,3,...

4 Monate ago | 1 answer | 0

1

Question

Matrix of two columns using two vectors
Hi. I need code for coordinate points (I need the program to always create a matrix(n,2) with two columns): For example A = [1...

5 Monate ago | 1 answer | 0

1

Question

I need create a function for order pairs
Hi I nedd create a function for do something like this (using for loops) A = [1,2,3]; B = [4,5,6]; LA = length(A); LB = le...

5 Monate ago | 1 answer | 0