Question


Silly question Incorrect Calculation
I have a nested if statement that states if the condition is not met run another script and then compare again until it meets th...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Subscript indices must either be real positive???
What does the above mean? I have a variable that is used to count the iterations, That same variable is matrix row specifi...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Nested if statement not perusing all if statements
matrixA = rand(100,2) matrixB = zeros(100,1) a= 78.6 b = 90.6 c = 99.5 d = 156.1 for i = 1:100 ...

plus de 9 ans il y a | 1 réponse | 0

1

réponse

Question


Stepping over / removing duplicate points
If I want to populate B with derived values from Matrix A using the following specifiers how could I do this? Point 1 = 800 (...

plus de 9 ans il y a | 1 réponse | 0

0

réponse

Question


If statement for a cell??
I am trying to see if a column in a cell has string matching to what I stipulate. I have read info on cells and still can not...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


Why are thevalues in one row of the matrix floating point type and the others are fixed?
For some reason when the values are read in using xlsread the first row is floating point and the rest are fixed. All values ...

environ 10 ans il y a | 1 réponse | 0

0

réponse

Question


Multiple <,=,> in an if statement?
I have the following: if i > m_1(1,1)& <= m_2(1,1) w(i,1) = w_2 end Which doesn't want to execute ...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


&& in if statement returning error
I have the following if statement with multiple conditional statements: _where d_1(1,1,) = 6_ % iteration limit ...

environ 10 ans il y a | 5 réponses | 0

5

réponses

Réponse apportée
Why Is Matlab So Slow On My System ?
Does the processing time lag considerably when reading the files in (xlsread command)? I found when I write commands in the w...

environ 10 ans il y a | 0

Question


Change elements by a set amount.
I have a vector that goes up in twos: delta= 2 2 4 4 6 6 What function can I use so ...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


Subscripted assignment dimension mismatch using text value
I have a vector u(1,1) = 6 and a vector delta_hat = [1,2,3,4,5,6]' I have tried to create a function so that when the value...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Question


Deletion of Matrix Column Using " linalg::delCol " Command
I am trying to delete the second column in the below matrix using the command: linalg::delCol(network_station_coordin...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


Look up corresponding element in a matrix
I have a matrix with multiple stations IDs and associated coordinate values along the stations rows (Matrix 1). I have an...

environ 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why Is Matlab So Slow On My System ?
The virus scanner uses 1% also. The .M file is on a portable hard drive and the script isn't very intensive (used on uni comp...

environ 10 ans il y a | 0

Question


Why Is Matlab So Slow On My System ?
Matlab never used to be so slow on my system and I can not figure out why the processing speed is lagging. I am running Win...

environ 10 ans il y a | 5 réponses | 0

5

réponses

Question


Cell to String Conversion
I have created a cell from another cell with a 1,n dimension. I would like to convert the values in the 1,n cell to a matri...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Reading text from an excel file and populating a matrix with those values.
Thankyou, that works perfectly.

environ 10 ans il y a | 0

Question


Reading text from an excel file and populating a matrix with those values.
I have read "http://www.mathworks.com.au/matlabcentral/answers/146754-xlsread-not-reading-text-only-excel-file" trying to figu...

environ 10 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
I am trying to figure out why my for and if statement are not returning a value to be looked up in a matrix
How do I get the loop to re-iterate until a condition is met? I can not get the for loop statement to reiterate counting do...

plus de 10 ans il y a | 0

Réponse apportée
I am trying to figure out why my for and if statement are not returning a value to be looked up in a matrix
I have it running through and reducing so I feel I am almost there but having further issues specifying what values to remov...

plus de 10 ans il y a | 0

Réponse apportée
I am trying to figure out why my for and if statement are not returning a value to be looked up in a matrix
Here is what I wish to do in its entirety, b = mat_res(:,1) c = mat_res(:,2) d =[] e = [b,c] mat_res = [1...

plus de 10 ans il y a | 0

Question


I am trying to figure out why my for and if statement are not returning a value to be looked up in a matrix
Can somebody please tell me why my following code isn't working please? a = [1,2,3,4,5;6,7,8,9,10;11,12,13,14,15] a = a'...

plus de 10 ans il y a | 4 réponses | 0

4

réponses