cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Highlighted

## Generating Polar Histograms in PTC Mathcad

By T. Matthew Evans • Demonstrates how to plot polar histograms
• Applicable across all industries and for new PTC Mathcad users
• Performs plotting polar histograms, series of functions, "line" type trace, bins, theta(intvl) function, polar_accum function, etc

This worksheet teaches you how to plot a polar histogram using PTC Mathcad software. A polar histogram is useful because it is a good way of presenting and analyzing data that quantifies a set of measurements with respect to their orientation in space. When operating PTC Mathcad, you must use a series of user-defined functions. Generally, you would want to use PTC Mathcad's polar plotting functions in conjunction with a "line" type trace to generate the polar histograms.

For each angular value, four radius values are necessary. These create the vertices of a closed triangle encompassing the measurements in an angular interval. You must then define the bins, sort the data into these bins, you can generate the polar histogram by using the polar plotting abilities of PTC Mathcad. You can:

• use the function theta(intvl) to generate the angular measure for plotting the bins of size intvl (in degrees)
• use the function polar_count to calculate the frequency of measurements in vector v and assign them to the bins
• consider a vector with angle measurements
• create a polar histogram of the vector with 5-degree bins

If you need to classify other measurements based on their orientation in space you can also use function polar_accum. This worksheet using PTC Mathcad takes you through the steps above to create a polar histogram and also provides you with an example using the function polar_accum.  Notation, data, formulas, solutions, and histograms are all provided to aid you in your own calculations.