File Exchange Pick of the Week

December 3rd, 2010

Exploring Trigonometric Functions

Brett's Pick this week is TrigDemo, by Matt Fig.

Matt is one of the more prolific (and popular) authors on the File Exchange; his 36 submissions (to date) have been downloaded a total of 1741 times in the past 30 days. Today's Pick is a very simple, very cool tool for exploring trigonometric functions. With an easy-to-use GUI, one can plot any equation of the form y(x) = A trig(Bx + C) + D, where "trig" can be any one of: {'sine', 'cosine', 'tangent', 'cosecant', 'secant', 'cotangent'}. Then, with easy-to-use radio buttons and sliders, one can interactively change that trigonometric function, or see the effects of changing any of the variables A, B, C, or D.

I like to think that MATLAB has a role in teaching mathematics at a variety of levels. Matt's GUI helps trigonometry students visualize and master the fundamentals (and provides a refresher for those of us who took trigonometry longer ago than we care to admit!) Simply, a very nice utility.

Take TrigDemo for a test spin, and let us know what you think, or leave a comment for Matt here.


Get the MATLAB code

Published with MATLAB® 7.11

4 Responses to “Exploring Trigonometric Functions”

  1. jiro replied on :

    As always, excellent tool, Matt! These interactive tools can definitely give students visual understanding of mathematical functions.

    I’d like to put in a shameless plug for a similar tool that I created:
    http://www.mathworks.com/matlabcentral/fileexchange/19805-eziplot

  2. feridun replied on :

    Matlab is the best… Thank you…

  3. Maurice Mourad Bendou replied on :

    I do have some questions I wonder if I could ask them?

  4. jiro replied on :

    @Maurice,
    If you have a question related to the tool that is highlighted on this post, it’s probably best to post the question on the author’s page:

    http://www.mathworks.com/matlabcentral/fileexchange/22664-trigdemo

    You can post questions/comments about this particular blog post here.


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

These postings are the author's and don't necessarily represent the opinions of MathWorks.