Magnitude of a vector?

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

#1 Objavljeno: 27. 9. 2020. 12:35:26
ggmaynard

ggmaynard

0 svidjanja u 2 postova.

Grupa: 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 Objavljeno: 27. 9. 2020. 13:13:32
ggmaynard

ggmaynard

0 svidjanja u 2 postova.

Grupa: 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 Objavljeno: 27. 9. 2020. 14:10:21
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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.
1 korisnika je svidelo ovu objavu
sergio 27. 9. 2020. 14:30:00
#4 Objavljeno: 27. 9. 2020. 21:28:38
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 28. 9. 2020. 09:19:38
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

makes the vector magnitude look like |x|



ArcLength.sm (49,46 KiB) preuzeto 1379 put(ova).

  • Novi postovi
  • Nema novih postova