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 comentario

Rik
Rik el 3 de En. de 2023
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.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 3 de En. de 2023

Cerrada:

Rik
el 3 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by