Mohannad Alzard
Followers: 0 Following: 0
Feeds
提问
How to write a code that counts how many numbers inside a vector is less than a specific vector?
So i have a randomily distrubited number as follows: for i=1:1000 k(i)=unifrnd(1,20); end i want to write a code that che...
2 years 前 | 1 个回答 | 0
1
个回答提问
Sorting a Matrix based on a identified vector.
i would like to sort the following 4x4 matrix in an order as shown below: for u=1:4 Block=randi([0,1],1,4); Random(Rand1...
3 years 前 | 0 个回答 | 0
0
个回答提问
Unequal vectors in one matrix.
Hello all, i have 4 unequal vectors, i want to place them into a one vector or matrix, and then use each element of each vector ...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to divide an array into sperate vectors.
i have a 1X1000 array, i want to use the first 4 elements in each iteration in a for loop, so the first iteration first 4, secon...
3 years 前 | 2 个回答 | 0
2
个回答提问
Finding multiple minimum values in a 4x4 matrix and its index.
i want a code that will find the minimum value and its index, then find the second minimum value and its index, and since its a ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Delete rows in a matrix to the largest power of 2.
For example if i have a 10x2 matrix, since 10 is not a power of 2 i want to delete rows to make it a 8x2 matrix, where 8 is the ...
3 years 前 | 1 个回答 | 0
1
个回答提问
4 matrix generation depending on a specific value,
i want to generate a matrix of all possible binary combinations dpeending on a specfic 1x4 vector, and the vector elements are r...
3 years 前 | 2 个回答 | 0
2
个回答提问
How to find the closest value between a matrix and a vector and print out its index?
For example the vector is [3 4 5 6] and the matrix is a 4x4, i want to compare each element of the matrix with the vector and pl...
3 years 前 | 1 个回答 | 0