Community Profile

Last seen: 8 dagen ago Active since 2020

#### Content Feed

View by

Question

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. ...

11 maanden ago | 3 answers | 0

### 3

Question

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 .......

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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...

meer dan 2 jaar ago | 2 answers | 0

### 2

Question

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...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

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...

meer dan 2 jaar ago | 3 answers | 0

### 3

Question

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....

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

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 ...

meer dan 2 jaar ago | 2 answers | 0

### 2

Question

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...

meer dan 2 jaar ago | 1 answer | 0

### 1

Question

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...

meer dan 2 jaar ago | 2 answers | 0