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
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