write a function that creates the following matrix

Write a MATLAB loop, write a function that creates the following matrix A and returns the matrix B which is computed from matrix A by relacing all elements greater than 2 with their natural logarithm and subtracting 10 from the remaining elements.A=[2 5 10;-8 -1 8;12 9 2]

댓글 수: 1

You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.

답변 (0개)

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

태그

질문:

2023년 1월 3일

마감:

Rik
2023년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by