Community Profile

photo

Mohannad Alzard


Last seen: oltre 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta