Scalar Function Surface Plotter

plots a 3-d surface and returns a matrix of 3-d pts based on a symbolic expression of xyz

You are now following this Submission

Given a 3-d scalar function in terms of x,y,z the fielder.m function returns matrix of 3-d coordinates and uses the surf() function to create a 3-d plot of the surface. The field_test_script m-file can be executed to make using the function easier (see screen shot)

Cite As

Matthew (2026). Scalar Function Surface Plotter (https://www.mathworks.com/matlabcentral/fileexchange/29275-scalar-function-surface-plotter), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

this is an update to the fielder.m file. eliminate a nested for loop by reshaping the meshgrid output.

1.1.0.0

removed a for loop by reshaping the meshgrid

1.0.0.0