About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconPlot Unit Vectors (Scripts) Publisher's description

This function plots unitvectors X Y and Z or (e1, e2, e3) from an origin.

This function plots unitvectors X Y and Z or (e1, e2, e3) from an origin.
This function is fairly robust in that it can take 2 types of input. It can take a transformation matrix of the form
trMatrix = [1 0 0 0; pos' unitx' unity' unitz'] as:

Or it can take it as a combination of [1x3] vectors as:
fcn_plotUnitVectors(origin[1x3], csX[1x3], csY[1x3], csZ[1x3], vectorScale[1x1],colorSel)
colorSel can be a string used to format the vector as well.

The default coloring is
unit1 - red, unit2 - green, unit3 - blue

You can also set your own linestyles, for example:
if you have colorSel = ['''k'', ''LineWidth'', 5'] as the input, it will set the color to black and the thickness of the line to 5

Use: Easiest use is fcn_plotUnitVectors(trMatrix), however the vectorScale is not dynamic so it will need to be changed in the code if it doesn't suit your data.

System Requirements:

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

Plot Unit Vectors (Scripts) Tags:

Click on a tag to find related softwares

Is Plot Unit Vectors (Scripts) your software?

Manage your software

Most Popular

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