Feeds
질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
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 #...
거의 4년 전 | 답변 수: 3 | 0
