Code covered by the BSD License  

Highlights from
Figutils

5.0

5.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 7.47 KB File ID: #26771
image thumbnail

Figutils

by Todd Welti

 

23 Feb 2010 (Updated 05 Mar 2010)

A set of simple but useful figure utilities. Source data is NOT required.

| Watch this File

File Information
Description

Figutils adds some uibuttons at the top of any figure, which allows operation on figure data, NOT requiring source data that the figures were generated with. It's a quick way to add, subtract, or average single lines or groups of lines. You can also invert, smooth (fractional octave smoothing), or even enter an arbitrary operation involving one line, a group of lines, or one line acting on a group of lines. Data can be taken form any open figure and plotted on any open figure. Additional functions could easily be added.

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Signal processing toolbox required only for fractional octave smoothing, but not for general use.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
23 Nov 2011 Chris

As an electrical / acoustics engineer I've been looking for a function like this for several years. I would have written it myself but my signal processing skills are not where they need to be. I finally stumbled across this function, and decided to try it. The octave smoothing matches very nicely with Goldline TEF smoothing, until you get down to the low frequencies (I'm talking around 100 Hz), but upon inspection it could have something to do with 1.) not enough data points down here, or 2.) something else with the algorithm. I know another company, Audio Precision, uses a proprietary smoothing algorithm to accurately smooth the lower frequencies but I'm not sure what that is.

I'm giving it five stars because it does exactly what it needs to do, which for me is smooth frequency response information. Thanks Todd!

23 Nov 2011 Todd Welti

Thanks, Chis. I'm glad it works for you. When I get some time, next thing is to add code to handle different number of points on different curves. So, it will have to interpolate...

Please login to add a comment or rating.
Updates
24 Feb 2010

Slight improvement in user prompts for OP! and OP2 (user defined functions) to make it clearer how to use.

25 Feb 2010

fixed small bug in smoothing, added keyboard ("c") option to instantly bail out at any time.

05 Mar 2010

fixed bug in op1 and op2 functions

Tag Activity for this File
Tag Applied By Date/Time
graphics Todd Welti 24 Feb 2010 09:33:28
figure Todd Welti 24 Feb 2010 09:33:28
plot Todd Welti 24 Feb 2010 09:33:28
data Todd Welti 24 Feb 2010 09:33:28
gui Todd Welti 24 Feb 2010 09:33:28
octave smoothing Chris 23 Nov 2011 10:06:13
octave Chris 23 Nov 2011 10:06:31
smoothing Chris 23 Nov 2011 10:06:38

Contact us at files@mathworks.com