Creating a surface from a grid of points with z values

Hi everyone,

I am a grasshopper newbie and wanted to know how I can create an undulating surface based on different z values.

I have a table of z values that I would like to use to displace the various points and create a surface out of them

grid gh

  1. Apply the Z values to the grid of points.
  2. Use SrfGrid to convert the flattened list of grid points to a surface:

Hey Joseph,

Thank you so much for this! Another question is can I automatically apply z values to points if I have a table of them?