Feeds
질문
Change color of leading edge of a maze generator algorithm
I have designed a DFS maze generator algorithm. I am plotting it using pcolor. The paths are shown in blue color while the block...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
Is there a way quickly to check if any element in a matrix is non zero?
I am trying to write a DFS maze generation algorithm. I initialize all elements in the matrix to 0 and then go about changing va...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
How can I store an array from a called function to another array?
I have a function Sysmodel(), which calculates the value of an array B based on random variables. What I want is to store differ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
How can I take the values of one array, map the values as indices to another array, then generate a thrid array with the sum of former's elements??
I know the question is a bit confusing, so let me illustrate what i am trying to do with an example: A = [ 2 1 4 2 3 2 4 0 ] ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
How to find the number of times an elements occurs in an array and copy to another array with same index
What I need is to find the number of times the elements repeat themselves in an array and copy the count to another array with t...
거의 11년 전 | 답변 수: 1 | 0
