NeRF - Neural Radiance Fields

NeRF - Neural Radiance Fields in MATLAB
Updated 17 Jan 2024

NeRF - Neural Radiance Fields

View NeRF - Neural Radiance Fields on File Exchange Open in MATLAB Online

MATLAB® implementation of optimizing a neural representation for a single scene called NeRF and rendering new views.

Novel view synthesis result

Quick demo

  1. Open nerf.prj on MATLAB.

  2. Run NeRF_Tutorial.mlx to learn how a NeRF pretrained model works.

    >> edit NeRF_Tutorial.mlx


  1. Open nerf.prj on MATLAB.

  2. Run NeRF_CameraPoseEstimationUsingAprilTag.mlx to perform camera calibration and pose estimation.

    >> edit NeRF_CameraPoseEstimationUsingAprilTag.mlx
  3. Run NeRF_Training_Example.mlx to train neural radiance field.

    >> edit edit NeRF_Training_Example.mlx

MathWorks® Products

Requires MATLAB release R2023a or newer


The license is available in the License.txt file in this GitHub repository.

Community Support

MATLAB Central

Copyright 2023 The MathWorks, Inc.

Cite As

Tohru Kikawada (2024). NeRF - Neural Radiance Fields (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with R2023a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

Fix broken links


Add "Open in MATLAB Online" badge


Changed the screenshot image


Fix typo


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.