View Factors
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Grammatical error in the description (significANT digits) |