kurdistan mohsin

Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Feeds

View by

Question

how to generate a vector of binary code
hello , i want to generate a vector of size 10 of binary code(zeros and ones ) ,any one can help?

2 years ago | 2 answers | 0

2

Question

how to repeat the while loop with the same value of matrix
hello, i have the bellow code , for the second while loop this will be excuted untill matrix L is empty , but i want to repeat ...

2 years ago | 0 answers | 0

0

Question

minimun value in a column matrix with its index
hi, I write the bellow code to find the minimum value in a column vector but it should not consider zero as a minimum , but how ...

2 years ago | 2 answers | 0

2

Question

max value in each row with its index
hi , i have the below matrix , and i want to find the maximun value with its location(index)at each row w, so after finding the ...

2 years ago | 2 answers | 0

2

Question

count the number of ones in each row
hi, i have the below N by N matrix and i want to count the number of ones in each row , anyone can help ? 0 0 0 ...

2 years ago | 1 answer | 0

1

Question

how can i repeat the function using iteration
hello , i have the below code , and i want to repeat it using 30 iteration , in each iteration it will give me different value o...

2 years ago | 1 answer | 0

1

Question

randomly choose an element from each row in a matrix if it was equal to one
i have the below matrix and i want to choose randomly one element from each row but only for the elements values equal to on...

2 years ago | 1 answer | 0

1

Question

break from a nested for loop
hi, i have the below matrix , i want each row to have only on value equal to '1' , so when searching if it find a one it will t...

2 years ago | 2 answers | 0

2

Question

summation of each row in a 3D matrix
hello all , I have the bellow 3D matrix and i want to find the summation value of each row separately , anyone can help? c(n,i...

2 years ago | 1 answer | 0

1

Question

find the minmum value in each column of a matrix
i have the below matrix(d) and i want to find the minumum value of each column but that value must not equal to zero d= ...

2 years ago | 2 answers | 0