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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 3 个回答 | 0
