Pregunta


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

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 10 años hace | 5 respuestas | 0

5

respuestas

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

casi 10 años hace | 0

Pregunta


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

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 10 años hace | 1 respuesta | 0

1

respuesta

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

casi 10 años hace | 0

Pregunta


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

casi 10 años hace | 5 respuestas | 0

5

respuestas

Pregunta


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

casi 10 años hace | 2 respuestas | 0

2

respuestas

Respondida
Reading text from an excel file and populating a matrix with those values.
Thankyou, that works perfectly.

casi 10 años hace | 0

Pregunta


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

casi 10 años hace | 2 respuestas | 0

2

respuestas

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 4 respuestas | 0

4

respuestas