# In Theta Bounds (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

See full specifications

## In Theta Bounds (Scripts) Publisher's description

### This function will take in an arbitrarily sized array of angles (in either degrees or radians) and determine if they fall between user specified bounds.

This function will take in an arbitrarily sized array of angles (in either degrees or radians) and determine if they fall between user specified bounds.

For example:

[X,Y] = meshgrid(linspace(-100,100,1e3));
isIN = thetabounds(thetas,10,350);
imagesc([-100 100],[-100 100],isIN);
axis xy

The function wraps the input of theta from [-180 180] to center around the average of the two bounds provided (180), going from [0 360]. Then it checks whether the angles provided fall within that span.

IMPORTANT NOTE:
The order of the two bounds that you provide is important. Going from 10 to 350 is the opposite of going from 350 to 10.

For example:
[X,Y] = meshgrid(linspace(-100,100,1e3));
% Determine which angles are between 1 and 359
isIN = thetabounds(thetas,1,359);
% Determine which angles are between 359 and 1 (i.e. 359-360 or 0-1)
isIN2 = thetabounds(thetas,359,1);
figure
imagesc(isIN);
axis xy
figure
imagesc(isIN2);
axis xy

The user may supply an optional input of units (degrees or radians). The default is degrees

#### System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### In Theta Bounds (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.