value
Infrared intensity at specified angle and frequency
Description
returns the value of the IR intensity, irval
= value(irsig
,az
,el
)irval
, specified by the IR
signature object, irsig
, computed at the azimuth,
az
, and elevation, el
. If the specified azimuth
and elevation is outside of the region in which the IR signature is defined, the IR
intensity is returned as -Inf
in dBw/sr.
Input Arguments
irsig
— IR signature object
irSignature
object
Radar cross-section signature, specified as an irSignature
object.
az
— Azimuth angle
scalar | real-valued length-M vector
Azimuth angle, specified as scalar or length-M real-valued
vector. Units are in degrees. The az
, el
, and
freq
arguments must have the same size. You can, however, specify
one or two arguments as scalars, in which case, the arguments are expanded to
length-M.
Example: 30
Data Types: double
el
— Elevation angle
scalar | real-valued length-M vector
Elevation angle, specified as scalar or real-valued length-M
vector. The az
and el
arguments must have the
same size. You can, however, specify one or two arguments as scalars, in which case, the
arguments are expanded to length-M. Units are in degrees.
Example: -4
Data Types: double
Output Arguments
irval
— Infrared intensity
scalar | real-valued length-M vector
Infrared intensity, returned as a scalar or real-valued length-M vector. Units are in dBw/sr.
Examples
Create Direction-Dependent IR Signature
Create and display an IR intensity signature. The signature depends on azimuth and elevation.
Define the azimuth and elevation angle sample points.
az = -90:90; el = [-30:30];
Create the IR intensity signature pattern.
pat = 50*cosd(2*el.')*cosd(az).^2; irsig = irSignature('Pattern',pat,'Azimuth',az,'Elevation',el);
Display the IR pattern.
imagesc(irsig.Azimuth,irsig.Elevation,irsig.Pattern) xlabel('Azimuth (deg)') ylabel('Elevation') title('Infrared Signature Pattern (dBw/sr)')
Get the IR intensity value at 25 degrees azimuth and 10 degrees elevation.
value(irsig,25,10)
ans = 38.5929
Get IR intensity value outside of the valid elevation span.
value(irsig,25,35)
ans = -Inf
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2018b
Open Example
You have a modified version of this example. Do you want to open this example with your edits?
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)