질문


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

대략 4년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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 ...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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 ...

5년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 2 | 0

2

답변