How to operate a function on matrix

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일

0 개 추천

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.

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

제품

태그

질문:

2020년 8월 26일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by