Chad
Followers: 0 Following: 0
Feeds
提问
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. ...
3 years 前 | 3 个回答 | 0
3
个回答提问
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 .......
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 3 个回答 | 0
3
个回答提问
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....
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 0