Magnitude of a vector?

Magnitude of a vector? - Where's the operator? - Mensajes

#1 Publicado: 27/9/2020 12:35:26
ggmaynard

ggmaynard

0 me gusta en 2 mensajes.

Grupo: User

I'm a long time Mathcad user (back to the DOS version) and I think SMath is great, better than what Mathcad has become. So I'm surprised to be so stumped by something so simple. How do I get the magnitude of a vector? In Mathcad I'd use the "|" keyboard shortcut, but in SMath that's a Boolean OR. In the tool palettes I see two operators that look like what I want: absolute value (works only on scalars) and determinant (works only on square matrices). I know this probably seems like a dumb question but I can't find reference to it anywhere.
#2 Publicado: 27/9/2020 13:13:32
ggmaynard

ggmaynard

0 me gusta en 2 mensajes.

Grupo: User

Just discovered the answer apparently is the "norme" function, kind of like in MATLAB. Mathcad has it too, but for square matrices only. I guess I was thinking more like an engineer than a mathematician. Would still be interested to know whether there's a way I'm missing that makes the vector magnitude look like |x| which is the usage I'm used to.
#3 Publicado: 27/9/2020 14:10:21
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

For only numerical procedures it seems that you can redefine abs(x) in this way:

Clipboard01.jpg

Notice that this don't works for derivatives. It could be a good idea typesetting norme(x) as ||x|| (double bar).

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
sergio 27/9/2020 14:30:00
#4 Publicado: 27/9/2020 21:28:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

How do I get the magnitude of a vector?


More generally, the length of a vector is its arc length.
Then from simple Wikipedia style or mathematically computable..
Always possible from discrete data + finite differences.

#5 Publicado: 28/9/2020 9:19:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

makes the vector magnitude look like |x|



ArcLength.sm (49,46 KiB) descargado 1352 vez(es).

  • Nuevos mensajes
  • Sin mensajes nuevos