Define the variable t as t =6.8 then evaluate: ln( |t^ 2 - t^ 3|)

1 次查看(过去 30 天)
How to write "||" in matlab?

采纳的回答

Walter Roberson
Walter Roberson 2022-9-18
abs -- and ln is log()
  3 个评论
Walter Roberson
Walter Roberson 2022-9-18
In mathematics, the absolute value or modulus of a real number x,
denoted |x|, is the non-negative value of x without regard to its sign.
Example:
abs([-3, 3, -inf, inf, -0, 0])
ans = 1×6
3 3 Inf Inf 0 0

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by