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

bijna 9 jaar ago | 1 answer | 0

1

answer

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 0 answers | 0

0

answers

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

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

meer dan 9 jaar ago | 0 answers | 0

0

answers

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

meer dan 9 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 10 jaar ago | 5 answers | 0

5

answers

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

bijna 10 jaar ago | 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 ...

bijna 10 jaar ago | 1 answer | 0

1

answer

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

bijna 10 jaar ago | 2 answers | 0

2

answers

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

bijna 10 jaar ago | 1 answer | 0

1

answer

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

bijna 10 jaar ago | 1 answer | 0

1

answer

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

bijna 10 jaar ago | 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...

bijna 10 jaar ago | 5 answers | 0

5

answers

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

bijna 10 jaar ago | 2 answers | 0

2

answers

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

bijna 10 jaar ago | 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...

bijna 10 jaar ago | 2 answers | 0

2

answers

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 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'...

meer dan 10 jaar ago | 4 answers | 0

4

answers