Community Profile

Contact

Top 10% contributor

Thanks Sean, I figured it out. I add a unique ID to the first column of the sample matrix (route_sample) and perform randsample ...

accepted

0

Answered 3 years ago

I need to generate a random sample between (0,1) and freeze it so that when I run the program again it generates the same "rando...

4 Answers

Asked 3 years ago

Hello, I have a linear programming problem and would like to use linprog but the values of my x matrix (the vector I'm solving ...

1318 views

Posted 4 years ago

Hello, I have a dynamic program that creates objects in the workspace (datasets, matrices) with the same name each loop but t...

2 Answers

Hello, I'm trying to maximize an objective function with 2 unknown variables subject to lower/upper bound constraints on the un...

I need to create a sample from an m by n matrix. Each row has a probability associated with it and can be treated as one obser...

I'm trying to dynamically update and compare values corresponding to their respective ID. This problem is easy if all ID's are s...

1 Answers

Asked 2 years ago

I'm trying to maximize an objective function using linprog. A simplified version (of an assignment problem) is to maximize: ...

I am trying to solve the max of the following nonlinear function: F = (((.8*buyp*1.1+.2*buyp*.95)-buyp)*265000*7.33)/(1+0...

Hi, I'm trying to populate a 3D matrix of zeros (3x14x12), nextvoy with a subset of rows in another matrix, trade, according to ...

Asked 4 years ago

[EDIT: Mon May 23 16:36:16 UTC 2011 - Reformat - MKF] Hello, I am having problems with my for loop statement (see code at botto...

I need to categorize a dataset according to different groups. For the example below, I want to create an ordinal array that diff...

0 Answers

Asked 1 year ago