View Factors

MATLAB function that calculates view factors between two planar surfaces.
3.1K Downloads
Updated 13 Aug 2004

No License

View factor is a MATLAB function that uses the CDIF (contour double integral formula) to calculates view factors between planar surfaces(polygons), no matter what are the shape and the orientation of the two figures.

All you need to enter is the coordinates of the vertices that define the outlines of the two figures and the level of precision desired (number of significant digits).

example:

Use the following command to calculate the view factors between two parallel triangles of coordinates (0,0,0),(1,0,0),(0,1,0) and (0,0,1),(2,0,1),(0,2,1)
with a precision of 6 significant digits.

[vfactor12,vfactor21,area1,area2]=viewfactor([[0,0,0];[1,0,0];[0,1,0]],[[0,0,1];[2,0,1];[0,2,1]],6)

Cite As

Nicolas Lauzier (2024). View Factors (https://www.mathworks.com/matlabcentral/fileexchange/5664-view-factors), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Grammatical error in the description (significANT digits)