Re_func(V_inf, altitude, l)
function [ Re ] = Re_func(V_inf, altitude, l)
%This function outputs the Reynolds number for dry air given an altitude [m],
%free stream velocity [ m/s], and characteristic length [ m]. Often the characteristic
%length for airfoils is the chord length.
%Inputs = altitude [m], V_inf = free stream velocity [m/s], l = characteristic length [m]
%Outputs = Reynolds numbers [ dimensionless ]
% arg2 and arg3 are optional,
% arg1 is mandatory
%You can call this function by either somefcn(arg1),somefcn(arg1,arg2) or somefcn(arg1,arg2,arg3), but not somefcn(ar1,arg3).
Cite As
Noel Puldon (2026). Re_func(V_inf, altitude, l) (https://www.mathworks.com/matlabcentral/fileexchange/52837-re_func-v_inf-altitude-l), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
Added flexibility to function by allowing for optional input arguments.
|
