Community Profile

photo

Juan Pérez Álvarez


Last seen: etwa ein Jahr vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I need to read an array to see if it has repeated elements (using for loop)
For example: Vec = [2,4,4,6]; For this case, element 4 is repeated. And i want the code do something like this: iteration #...

etwa 2 Jahre vor | 3 Antworten | 0

3

Antworten