photo

Sophia


University College London

Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 11 anni fa | 0 risposte | 0

0

risposte

Domanda


How to use ISMEMBER when not all rows match
I'm trying to dynamically update and compare values corresponding to their respective ID. This problem is easy if all ID's are s...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Linprog doesn't satisfy b constraints when it contains negative coefficients?
I'm trying to maximize an objective function using linprog. A simplified version (of an assignment problem) is to maximize: ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


FMINCON giving incorrect values?
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...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Solve non-linear equation with 2 unknowns and lb/ub constraints
Hello, I'm trying to maximize an objective function with 2 unknown variables subject to lower/upper bound constraints on the un...

oltre 12 anni fa | 2 risposte | 0

2

risposte

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

oltre 12 anni fa | 0

| accettato

Domanda


creating weighted sample for a matrix
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...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


How to freeze a random sample
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...

circa 13 anni fa | 4 risposte | 0

4

risposte

Domanda


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

circa 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Looping through two matrices with IF statement
[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...

oltre 13 anni fa | 1 risposta | 0

1

risposta