photo

Kitt


Last seen: 12 dagar ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


help counting number of times a value occurs across matrix
I have an 19x100 matrix, dp, that can have a variety of values in it 111, 112, 121, 122, 211, 212, 221, 222, 311, 312, 321, 322...

29 dagar ago | 2 answers | 0

2

answers

Question


having if/else statement go to previous input
I have a matrix, opt, that consists of 3 outputs, 1/2/3. Output 1 goes through a bunch of steps, output 2 goes through a bunch o...

ungefär en månad ago | 3 answers | 0

3

answers

Question


if/elseif statement with rand() falling between two values
a I have a for loop set up for a specific number of timesteps and I have a variable that I want changing between each timestep w...

ungefär en månad ago | 2 answers | 0

2

answers

Question


Help organizing legend for bar graph
So I had a very helpful response in a previous question for creating a legend organizing some data and I've tried manipulating i...

ungefär en månad ago | 1 answer | 0

1

answer

Question


plotting two types of data on one graph
This may not be possible but if anyone can figure it out, it's someone on here. I have a matrix, 20 timesteps x 1000 individual...

ungefär 2 månader ago | 2 answers | 0

2

answers

Question


plotting multiple distributions on one graph
What I'm wanting is a little complicated. I have an matrix, simphystate, that is (20x1000), or 20 timesteps x 1000 individuals,...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


plot bar graph based on element type in matrix
I have a 20x100 (t,N) matrix with each element being either 1, 2, or 3. I want to create a bar graph showing the amount of each ...

ungefär 2 månader ago | 2 answers | 0

2

answers

Question


colorbar graph exceeding matrix values
So I'm plotting a 4D matrix, called Ft, that ranges from 0-1, but when I graph it and add a colorbar, it's showing 0-2 for physi...

4 månader ago | 1 answer | 0

1

answer

Question


Help understanding how function handle is used
So I had an extremely helpful replier in an earlier question given me an equation for an interpolation function (I didn't know a...

4 månader ago | 1 answer | 0

1

answer

Question


can you add probability to a for loop?
I have a very long and complex fitness function that I want to add even more complexity to, and I'm wondering if I can shortcut ...

4 månader ago | 1 answer | 0

1

answer

Question


creating hyperbolic tangent function for matrix based on another matrix
I'm having issues trying to create a hyperbolic tangent function for a probability distribution. Right now, I have a matrix base...

7 månader ago | 1 answer | 0

1

answer

Question


creating a function for linear interpolation based on two changing states
So I'm trying to add in linear interpolation into a fitness equation that has two information states. I was talking about it wit...

7 månader ago | 1 answer | 0

1

answer

Question


Is there a way to create a lot of graphs for a 4D matrix without coding for a ton of individual graphs?
I have a 4D matrix that I'm trying to create graphs for. There are 4 dimensions, a physical state, two informational states, and...

7 månader ago | 1 answer | 0

1

answer

Question


adding linear interpolation to a fitness equation
So I'm creating a dynamic state-variable model and I want to add in a forgetting rate for an informational state, however that'l...

7 månader ago | 1 answer | 0

1

answer

Question


Can't get matrix to populate first column
So I'm trying to create a matrix that changes between 3 possible values based on modified values of a different matrix, here's t...

8 månader ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-15. - can't find what the problem is
I keep getting this error, but I have no idea what's causing it. Using the step button brings up nothing until the very end whe...

8 månader ago | 1 answer | 0

1

answer

Question


using if else statements to assign a value to a variable based on the value of a specific element in a matrix
I've created a matrix and I'm trying to write a for loop and within the for loop, and I have a variable, p, that I want to chang...

8 månader ago | 1 answer | 0

1

answer

Question


Index in position 2 exceeds array bounds. Index must not exceed 1. - correctly indexing a changing element in a matrix
So I'm trying to write a for loop that indexes a specific element of a matrix, but the element being indexed changes for each lo...

8 månader ago | 0 answers | 0

0

answers

Question


How to use a matrix element to define a changing variable
So I'm writing a stochastic dynamic program on decision-making based on two informational states about 2 patches to forage in. S...

8 månader ago | 1 answer | 0

1

answer