Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to operate a function on matrix

1 vue (au cours des 30 derniers jours)
Rajkumar Verma
Rajkumar Verma le 26 Août 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
Dear all, I want to operate a function on matrix elements. How to do it? See the attached file.

Réponses (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi le 26 Août 2020
Modifié(e) : Abdolkarim Mohammadi le 26 Août 2020
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 commentaire
Rajkumar Verma
Rajkumar Verma le 26 Août 2020
This is not a homework assignment. I have already done it.
Thanks for you kind suggestions.

Cette question est clôturée.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by