Community Profile

photo

Kirtiman


Nirma University

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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

7 years ago | 0 answers | 0

0

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer

Question


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

9 years ago | 1 answer | 0

1

answer