[freq,c] = wavelen2freq(___)
also returns the propagation speed c used to compute frequency
freq. Use this syntax with any of the input arguments in previous
syntaxes.
freq — Signal frequencies positive scalar | length-M vector of positive values
Signal frequency, specified as a positive scalar or a length-M
vector of positive values. The size of freq equals the size of
wavelen. Units are in Hz.
Example: 10e6
Data Types: double
c — Signal propagation speed speed of light in vacuum (default) | positive scalar
Signal propagation speed, returned as a positive scalar. Units are in m/s.
Data Types: double
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.