- #1
Faken
- 4
- 0
Hello everyone,
I have 2 components of a gradient, for example, the dz/dx and the dz/dy, I want to find the overall gradient it forms, how would I do that?
Is it simply by combining the two gradients like this:
overall gradient = ((dz/dx)^2 + (dz/dy)^2)^(1/2)
I don't need the direction, I don't really care about the direction, i just need the value of the combined gradients.
Thanks in advance
-FakenEdit:
Well, it seems that I'm not asking my question clearly enough, let me try again but this time with a physical example.Imagine a flat plate in 3D space that has a known slope in the x direction and the y direction (or dz/dx and dz/dy, in this case, we are using the right handed coordinate system with positive x going from left to right, positive y going away from you, and positive z going up).
If i place a ball on the plate and gravity acts on the ball in the negative z direction, which direction will the ball go (as viewed from above, or the path projected onto the XY plane), and what slope will the ball "see" going in that direction.
Basically its like converting Cartesian coordinates into polar coordinates, except I'm dealing with a gradient or slope.
I have 2 components of a gradient, for example, the dz/dx and the dz/dy, I want to find the overall gradient it forms, how would I do that?
Is it simply by combining the two gradients like this:
overall gradient = ((dz/dx)^2 + (dz/dy)^2)^(1/2)
I don't need the direction, I don't really care about the direction, i just need the value of the combined gradients.
Thanks in advance
-FakenEdit:
Well, it seems that I'm not asking my question clearly enough, let me try again but this time with a physical example.Imagine a flat plate in 3D space that has a known slope in the x direction and the y direction (or dz/dx and dz/dy, in this case, we are using the right handed coordinate system with positive x going from left to right, positive y going away from you, and positive z going up).
If i place a ball on the plate and gravity acts on the ball in the negative z direction, which direction will the ball go (as viewed from above, or the path projected onto the XY plane), and what slope will the ball "see" going in that direction.
Basically its like converting Cartesian coordinates into polar coordinates, except I'm dealing with a gradient or slope.
Last edited: