Question


problem in cell matrix operations
Hello I have code like this which gives out a 5*1 cell matrix: row = [0; 1; 2; 3; 4] ; Coh = [15;16 ;17; 18; 20;19;7;8;22;2...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


grouping data in column vector based on another vector
Hello I have a column vector A as [0;1;2;3;4]. On the other hand, there is another column vector called C=[15;16 ;17; 18; 20;...

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


How to multiply a matrix to another cell matrix
Hello I have a 3*3 matrix such as [1 0 0; 8 23 1; 5 7 10] On the other hand, I have matrix 2000*1 containin...

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


How to convert a matrix into some cells?
Hello I have a big matrix which i want to convert to equal submatrixces in cell form. As an illustration imagine this matrix: ...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to increase the size of a matrix within for loop
Hello There is a for loop in my code. imagine i obtain value 1 after the first iteration, so it would be my first array in the...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to generate different numbers of random variables in each Monte Carlo iteration (random fields)
Hello I am modeling random fields in each monte carlo simulation. In this regard, I am usnig the mvnrnd command to generate dep...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


generating correlated random variables
Hello Though the subject might seem similar to other subjects available in this forum, it is indeed different. I am doing a M...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


Assigning values and classification/grouping
Hello I am defining some slices in matlab (n is the number of slice and the curve in the figure is part of a circle), which ha...

bijna 3 jaar ago | 0 answers | 0

0

answers

Question


reproduce random numbers for the third dimension
Hello I want to generate random numbers for matrix A which has a second page(i.e. 2), whose values i am going to assign to ano...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


unclear number of if or maybe other commands?!
Hello I am confused in writing a code which i am going to explain. imagine there is a row matrix whose dimension is not clea...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Classify rows of a matrix
Hello I want to know how it is possible to define a condition as if the numbers at the second column of some rows of a matrix a...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Speed up the code
Hello This code is part of a total code. It calculates the geometrical features of the main problem geometry. However, it takes...

ongeveer 3 jaar ago | 0 answers | 0

0

answers

Question


solve a vector of independent equations with only one variable
Hello Could anyone please guide me as to how solve this system of vector equations(EQ), so it would give me a vector of solutio...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


The solution process takes too long+vpasolve
Hello, I am solving a single variable nonlinear equation(i.e. eqn) using vpasolve. The solution speed is fine if n is equal to 1...

bijna 4 jaar ago | 0 answers | 0

0

answers

Question


the error"The function values at the interval endpoints must differ in sign" + fzero
Hello. I want to solve the beneath nonlinear eqn(there is only one variable) as the code below. When using fzero, I get the erro...

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


How to solve this system of nonlinear equations composed of symbolic variables
Hi I want to solve 3 nonlinear equations with 2 unknowns. The equations are composed of symbolic variables. When I run the co...

bijna 4 jaar ago | 1 answer | 0

1

answer