Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
How to write "||" in matlab?

Risposta accettata

Walter Roberson
Walter Roberson il 18 Set 2022
abs -- and ln is log()
  3 Commenti
Walter Roberson
Walter Roberson il 18 Set 2022
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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by