Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 5 Antworten | 0

5

Antworten

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

fast 12 Jahre vor | 0

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 12 Jahre vor | 0

Frage


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

fast 12 Jahre vor | 5 Antworten | 0

5

Antworten

Frage


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

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

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

fast 12 Jahre vor | 0

Frage


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

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Frage


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

mehr als 12 Jahre vor | 4 Antworten | 0

4

Antworten