Community Profile

photo

txvmi07


Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
Why am I getting an index looping error when looping over variable?
Answering my own question... First, I was trying to put a matrix where a scalar would be and I fixed this by setting the outp...

10 years ago | 0

| accepted

Question


Why am I getting an index looping error when looping over variable?
*Problem:* In short, I am trying to use a loop to evaluate a function over a range of one variable input with everything else he...

10 years ago | 1 answer | 0

1

answer

Question


How do you evaluate a revenue function over a range of price and quanity inputs?
*Problem:* I have generated a production function which yields a production quantity qm_30 (m x n matrix) for months 1:length(qm...

10 years ago | 1 answer | 0

1

answer

Answered
How do you operate on only the non-zero elements of columns within an array?
Thanks for the help! My problem was sort of difficult and while I didn't use your suggestion in that explicit manner it did poin...

10 years ago | 0

| accepted

Question


How do you operate on only the non-zero elements of columns within an array?
*Problem:* I have an m-by-n matrix of values, some positive and some negative, and I am only concerned with values greater than ...

10 years ago | 2 answers | 0

2

answers

Question


How can you create an array from portions of two other arrays using indexing or other methods?
*Question:* I want to create an array based q_mod (14400x11) that draws its values from two other arrays of the same size (q an...

10 years ago | 0 answers | 0

0

answers

Question


How do you calculate percentage change between sequential elements in array?
I have a 14400x11 array of values from the output of a hyperbolic function and want to calculate the sequential percentage chang...

10 years ago | 2 answers | 0

2

answers

Question


How do you generate conditional output for a multi-variable hyperbolic function given changing slope?
I’ve been able to calculate q for t = 0:14399 and b = 1:0.1:2 simultaneously, however, I would like to control the calculation o...

10 years ago | 0 answers | 0

0

answers

Question


How do you control flow with conidtional statement to evaluate multivariable function?
After trying a variety of things (logical variables, dummy variables, etc), I'm turning here for help. Any assistance would be g...

10 years ago | 0 answers | 0

0

answers

Question


How do I sum a number with only the top row of the matrix?
I have a 480 x 11 matrix of numbers (cash inflows) and need to sum a number, say negative 10, with the elements in the first row...

10 years ago | 1 answer | 0

1

answer

Answered
How can I create another matrix with the sum of every 30 rows in a 14,400 by 11 matrix?
Thank you everyone for your generous help! All of your suggestions worked great and seeing all the different methodologies was e...

10 years ago | 0

Question


How can I create another matrix with the sum of every 30 rows in a 14,400 by 11 matrix?
I have a matrix with 11 columns of daily data for 40 years (14,400 days) and need the sum of every 30 days to be calculated. Aft...

10 years ago | 6 answers | 0

6

answers

Question


How do you evaluate a function over a range of more than one variable? Rate-Time Decline Curve Analysis
After a lot of trial and error I am still unable to generate the output I desire in what I believe is the correct and most effic...

10 years ago | 1 answer | 0

1

answer