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