Community Profile

Last seen: circa un anno fa Attivo dal 2020

#### Content Feed

Visto da

Domanda

Creating a counter inside the ode45 function
I would like to set up a simple counter inside the ode45 function for the purpose of changing a variable which affects the ode. ...

circa 2 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Solving System of Differential Equations with Multiple Variables using ode45
Lets say I have a system of six differential equations with multiple variables: dA = E - C + B - D dB = F - D + A - C .......

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Creating Matrix based on grouping of elements in cell array
Say I have a cell array where each cell describes a group of numbers. I want a matrix that describes these groups in a logical m...

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Finding All Combinations of Elements in a Vector
I want to create all combinations of a 1x6 vector, composed only of 1's and 0's. Starting with all zeros and ending with all one...

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Sorting Equal Elements of Matrix into Groups in Cell Array
Lets say C is an nx2 matrix where n can range from 1 to 15. All elements of C can range from 1-6. I want to form groups in the f...

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Deleting Rows inbetween NaN values.
I got a row vector that looks like this: V = [ 1 4 5 NaN 0 9 3 1 3 NaN 1 5 3 0 7 NaN 7 4 2 1 NaN 9 4 ]. I want to delete all the...

oltre 3 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Modifying a Row Vector to Pair up Numbers
Say I have a bunch of random sequences of different lengths in a cell array: S1 = [ 4, 6, 3, 5, 1 ], S2 = [ 3, 3, 1 ], S3 = [ 2...

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Counting how many times a number occured after a specific number
Lets say I have a sequence of numbers ranging from 1 to 4, S = [ 3 2 2 4 3 1 ]. I want a 4x4 matrix which tells me how many time...

oltre 3 anni fa | 3 risposte | 0

### 3

risposte

Domanda

How do I see which cell that the components of a vector land in, in a cell array??
Say I have a cell array, A, and a vector, B. I want to figure out which cell each component of the vector lands in. For example....

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Simple Matrix Reduction Question. Ones and Zeros.
I have a NxM matrix full of ones and zeros. Each row (1:N) has exactly one, one, somewhere along of the columns. I want to make ...

oltre 3 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Voronoi Diagram in Dashed Lines
I'm trying to plot a voronoi diagram using dashed lines instead of solid. I am using vectors X and Y. voronoi(X,Y,'r','LineSt...

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

For Loop Which Skips Numbers Based on Row Vector
I've got a row vector containing hunderds of random, ascending numbers. I need to run a for loop which skips these specific numb...

oltre 3 anni fa | 2 risposte | 0

### 2

risposte

Domanda

How do I create multiple column vectors from one big column vector?
I have two column vectors, objx and objy, both of which contain 20,160 floats. I need to dice it up every 48 iterations to creat...

oltre 3 anni fa | 1 risposta | 0

risposta