主要内容

halfFieldOfView

Compute half field of view of optical system

Since R2026a

Description

Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.

halfAngle = halfFieldOfView(opsys) returns the half field of view of the optical system opsys. The half field of view is half of the total horizontal angle that you can observe in the optical system, extending from the optical axis to one horizontal edge of the horizontal field of view.

halfAngle = halfFieldOfView(opsys,Wavelengths=wavelengths) specifies the wavelengths at which to compute the half field of view.

Input Arguments

collapse all

Optical system for which to compute the half field of view, specified as an opticalSystem object.

Wavelengths at which to compute the half field of view, specified as a positive numeric scalar or an M-element numeric vector. M is the number of wavelengths, and each element of the vector represents a wavelength value, in nanometers. By default, the function computes the half field of view at the primary wavelength of the optical system opsys, represented as opsys.Wavelengths(opsys.PrimaryWavelengthIndex).

Output Arguments

collapse all

Half field of view, or half-angle, returned as a nonnegative numeric scalar or an M-element row vector. M is the number of wavelengths. The half field of view is the maximum angle from the optical axis, in degrees, at which a chief ray can reach the final surface of the optical system.

Version History

Introduced in R2026a