Community Profile

photo

Mohannad Alzard


Last seen: mehr als 2 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort