提问


Error in string operation
Runs correctly first time. On second run, says "Error using == Comparison between logical and string is not supported." What...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Nested loop error and saving result
Getitng an " Index in position 1 is invalid. Array indices must be positive integers or logical values." error. What am I not do...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Pass values to outside of loop after each iteration
hi, %note: outputs are floating point values i.e 123.4567 for w=1:20 for ss=1:24 d (ss,:)= 2*ss*(1:5)+(ss/w);...

5 years 前 | 2 个回答 | 0

2

个回答

提问


Replace elements of a matrix
UPDATE: I expanded and updated the question and posted it as a new one. here : https://uk.mathworks.com/matlabcentral/answers/44...

6 years 前 | 3 个回答 | 0

3

个回答

提问


Losing Format on import.
What is the right way to import time data from Excel without losing format? example 03:49:00 (hh:mm:ss) from excel is 0.1590 ...

6 years 前 | 1 个回答 | 0

1

个回答

提问


Delete rows with same elements
a=[2 3 2;3 3 3;4 4 4;2 5 4; 3 5 5; 4 4 4; 7 3 4] how do I delete only those rows where elemets repeat for entire row length. In...

6 years 前 | 2 个回答 | 0

2

个回答

提问


Combinations of a vector with replacement
Hello everyone. A = [2 3 4]. I am trying to generate these 2 combinations: 22, 23 ,24 ,32 ,33 ,34, 42 ,43 ,44 (order mat...

6 years 前 | 1 个回答 | 0

1

个回答

提问


for loop running like a forever loop
Hi. Following generates combinations that sum to 75, using at least 2 values. This code runs but takes forever. How can i speed ...

6 years 前 | 2 个回答 | 0

2

个回答

提问


reshaping matrix with odd number of total elements
how can I reshape a 63X5 matrix (315 elements) into a mX2 , and a mX4 matrix?

6 years 前 | 2 个回答 | 0

2

个回答

提问


How to speed up calculation taking inputs from 2 separate and very large matrices (working code below)
Hi. The code below works. *updated portion* the REAL is 'a' is at 10600X5 and and 'b' at 60X5 and takes forever to run. How can ...

6 years 前 | 1 个回答 | 0

1

个回答

提问


How to multiply each row of a matrix with a second full matrix, while applying a formula
I want to multiply each row of 'a' into 'b' while applying a formula for each row of b, thus creating a new martix of size 8,4. ...

6 years 前 | 2 个回答 | 0

2

个回答