Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Solve for the square root of each value in a matrix

조회 수: 2 (최근 30일)
Kayla Magee
Kayla Magee 2016년 2월 17일
마감: Walter Roberson 2016년 2월 17일
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.

답변 (0개)

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by