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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0