Is a Heightfield a Scalar or a Vector and How Many Dimensions Does it Have?

  • Thread starter Thread starter hexa
  • Start date Start date
  • Tags Tags
    Scalar Vector
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
hexa
Messages
32
Reaction score
0
Hello,

I've been wondering if a heightfield is a scalar or a vector, and how many dimensions in space it has.

Sure, if it's a scalar it only has a magnitude, and as a vector magnitude and direction but I cannot see either, or keep them apart in this case. Density or gravityacceleration are easier I guess.

Dimensions: 2 would work out: h=(x,y) but would 1d and 3d possible as well?
Hexa
 
Last edited:
Physics news on Phys.org
Hello Hexa,

in the case of h=h(x,y) you get for each set of values x and y a corresponding height h, which is a scalar. Or to put it another way: For every point on the x-y-surface you get a certain height h. So altogether the function describes a 2-Dimensional surface in a 3-Dimensional space.

I hope that was helpful for you.
 
Hi David,

that was also my intuition. I got confused by an old exam question about visualising such heightfield as vectorfield:confused: and could not find a direction.

Thanks a lot

Hexa

DavidBektas said:
Hello Hexa,

in the case of h=h(x,y) you get for each set of values x and y a corresponding height h, which is a scalar. Or to put it another way: For every point on the x-y-surface you get a certain height h. So altogether the function describes a 2-Dimensional surface in a 3-Dimensional space.

I hope that was helpful for you.