Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Solve for the square root of each value in a matrix

3 visualizaciones (últimos 30 días)
Kayla Magee
Kayla Magee el 17 de Feb. de 2016
Cerrada: Walter Roberson el 17 de Feb. de 2016
Write a function that takes the square root of only positive values. If the value is negative assign a NaN value. Use an if statement. The separately create a code that loads a matrix, then uses your function “sqrt” from earlier to solve for the square root of each of the values in the matrix.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by