필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How does the indices inside select row change the input array

조회 수: 1 (최근 30일)
Ray
Ray 2017년 1월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
I am trying to understand the command "select row". I inserted in the indices of the select row block [5; 4; 3; 2; 1] which i thought that the output of this block will take the input and flip it based on the indices. for example if the input is [ 1 2 3 4 5] it will change to [5 4 3 2 1]. I used comma, semicolon and still the results did not make since to me. Please take a look and explain to me.
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 1월 24일
Please show an example of how you are calling it.
Star Strider suspects you are using stats::selectRow from the Symbolic Toolbox, but that function never changes the order of the rows and does not have a calling sequence that matches what you are describing.
I suspect that you are either using plain indexing or else that you are using a Simulink block.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by