Info

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

How to operate a function on matrix

조회 수: 1 (최근 30일)
Rajkumar Verma
Rajkumar Verma 2020년 8월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
Dear all, I want to operate a function on matrix elements. How to do it? See the attached file.

답변 (1개)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2020년 8월 26일
편집: Abdolkarim Mohammadi 2020년 8월 26일
Assuming this is your homework assignment, I can only give you the clue that you can use logical indexing.
https://www.mathworks.com/help/matlab/matlab_prog/find-array-elements-that-meet-a-condition.html
  댓글 수: 1
Rajkumar Verma
Rajkumar Verma 2020년 8월 26일
This is not a homework assignment. I have already done it.
Thanks for you kind suggestions.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by