답변 있음
wrong number of rows of cell array using length()-function
You should use the size command to distinguish between row and col. To be more precise: length(X) returns the length of vect...

거의 4년 전 | 0

| 수락됨

답변 있음
How to select a column on basis of some conditions on the rows?
Does this solve your problem? x = x(:, x(1, :) > 0 & x(2, :) > 0 & x(4, :) < 0)

대략 4년 전 | 0

| 수락됨

답변 있음
how to do sum of element of multiple number in matlab?
Not sure whether I got your issue. But in case you want to summarize all members of m starting at index 1, up to each member of ...

대략 4년 전 | 0

답변 있음
Cut out all of a square array except for a specified NxN section in the middle.
Try this: rowOffset = (rowdim-m)/2; columnOffset = (columndim-m)/2; centerMatrix = x(rowOffset+1:end-rowOffset,...

대략 4년 전 | 1

답변 있음
load x,y
There are certainly different ways to do so. E.g.: x = 1:1:10; y1=[0.5 1.7 1.75 1.9 2 2.1 2.4 2.6 2.7 2.9 ]; y2=[0.7 1.8 1...

대략 4년 전 | 0

답변 있음
Remove rows/columns with same elements
unique(sort(A, 2), 'rows')

대략 4년 전 | 0

질문


Data Type Conversion does not convert to boolean when attached to transfer function block
Hello, I attached a "Data Type Conversion" block to a PT1 low pass filter (transfer function) trying to convert the ouptut sign...

4년 초과 전 | 답변 수: 1 | 1

1

답변

질문


report generator can't handle blanks in path name
Hello, in order to use the report generator of Matlab I created the needed template sheet with a relative path to an image whi...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


How to print certain block of Simulink model
Hello, I'm trying to get an image of a specific block inside a Simulink model - programmatically. I tried the following: 1)...

대략 6년 전 | 답변 수: 1 | 0

1

답변

답변 있음
dynamically change simulink library path
Hello, many thanks for your efforts. Meanwhile I found a workaround which does the job. It points to the direction Fangjun pr...

대략 6년 전 | 0

| 수락됨

질문


dynamically change simulink library path
Hello, without changing the Simulink model I'd like to switch between two source libraries for the blocks the model contains....

대략 6년 전 | 답변 수: 2 | 0

2

답변