x=(0:2*pi/20:2*pi)';
y=(0:4*pi/40:4*pi)';
[X,Y] = meshgrid(x,y);
z= cos(X).*cos(2*Y);
surf (x,y,z);
The Resulting Graph
This graph was computed from the lines of code above and is an example that might be used in multivariate calculus. (Image courtesy of Dr. Mark S. Gockenbach, Michigan Technological University, www.math.mtu.edu/~msgocken/intro/intro.html)
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- What programming language should we teach?
- What programming language should we teach?Re: What programming language should we teach?How about Javascript? No, seriously... it's free, it's cross-platform, it's already available on virtually ANY computer without needing to install anything at all, it's not terribly complicated, and it greatly resembles many of the other languages in use.When it...
- Discussion threads 2008-06-27
- What programming language should we teach?
- I had a discussion shortly before the end of the year with one of our exchange students regarding a programming class I wanted to teach. My goal was simply to introduce programming concepts and algorithmic thinking. Heck, I'd be happy if the kids could walk out of the...
- Blog posts 2008-06-27
- JMathLib (exe)
- JMathLib is meant to be a clone of Matlab, but written entirely in java. A library of mathematical functions designed to be used in evaluating complex expressions and display the results graphically. It is used either interactively through a terminal like window or to interpret script files. It is intended...
- Software downloads 2008-06-24
- The killer apps of academia
- The killer apps of academiaMy suggestionsNice list. However, what's Windows Live Mail doing there, when there's the Great Gmail? :-)Another favourite application: normalize the volume of your mp3's with mp3gain. There is a Windows version here:http://mp3gain.sourceforge.net/download.phpAnd there's also a Linux version. The Linux version is available in the repositories...
- Discussion threads 2008-06-17
- Programming in 6th or 7th grade algebra?
- I wrote about my interview with CSTA Executive Director, Chris Stephenson, yesterday and mentioned their emphasis on teaching algorithmic approaches to problem solving as early as primary school. Interestingly, a reader on Slashdot asked a related question about the need for some programming skill (no particular language, just flow...
- Blog posts 2008-05-29
- Hacking NASA: One small step for man, one giant leap for hackers?
- The CORE Security Team released an advisory to the Full-Disclosure mailing list today that documented a stack overflow in NASA's Common Data Format libs. Looking at this bug, the tech details aren't overwhelming, I think I'm mostly excited about it due to the high profile of hacking NASA libs. One...
- Blog posts 2008-05-05
- My kid hates Linux too! (so what?)
- My kid hates Linux too! (so what?)Message has been deleted.My kid hates Linux too! (so what?)My completely nonsensical 15 year-old daughter whines about the fact that all the machines in the house run Linux. I laugh....she'll get over it. Else, she can buy/build her own machine....learn to maintain it....alone....while...
- Discussion threads 2008-04-15
- Buy a ShaggyMac for all of your teachers
- Buy a ShaggyMac for all of your teachersMessage has been deleted.RE: Buy a ShaggyMac for all of your teachersdiscrete graphics... discrete graphics... refresh my memory? I'm looking at both options myself. Speed as you say is not a factor, screen finish isn't really a factor for me...I like glossy for...
- Discussion threads 2008-03-12
- Have a heart (attack): Defibrillators, pacemakers vulnerable to hackers
- Researchers have discovered that an implantable heart device, a combination of a defibrillator and pacemaker, is vulnerable to hackers. According to a study, authored by researchers at the University of Washington, University of Massachusetts Amherst and Harvard Medical School, hackers could get wireless access to a heart...
- Blog posts 2008-03-12
- I love Google...don't tell the librarian!
- I'm taking a grad class right now in analysis and problem solving methods. At the moment, we're using Matlab to analyze .wav files and explore harmonics, series, and some very interesting trigonometry. An undergrad made the mistake of walking into the class to drop off materials for the...
- Blog posts 2008-02-13
- Trend View (zip)
- Trend View is an efficient, visual, and easy-to-use spreadsheet. It handles large amounts of data for visual inspection of data trends, search, and analysis points of interest. Users have mouse-driven data browse on the spreadsheet and visualizations (line graphs, 3D plots) from generated color index. It supports data exchange with...
- Software downloads 2008-01-22
- EngSim For MS VC++ 6 (exe)
- ENGSIM is an Engineering Simulation and Graphics Library for Microsoft Visual C++. It has all Matlab features and functions. It is very easy to program, it uses the same programming syntax as Matlab, ANSI C/C++. Supports negative indexing for array/matrix, complex array, and complex matrix. Supports fix-point/floating-point communications engineering and...
- Software downloads 2008-01-10
- EngSim For MS VC++ 2005 (exe)
- ENGSIM is an Engineering Simulation and Graphics Library for Microsoft Visual C++. It has all Matlab features and functions. It is very easy to program. It uses the same programming syntax as Matlab, ANSI C/C++. It supports negative indexing for array/matrix, complex array, and complex matrix. Supports fix-point/floating-point communications engineering,...
- Software downloads 2008-01-10
- Sage - not a piece of cake, but powerful and open
- Sage - not a piece of cake, but powerful and openHow does it relate to RI know - R is a different kind of program. But I just wondered how the two are linked or are not linked as both seem to be powerful open source tools for math.Thanks anyhow...
- Discussion threads 2007-12-10
- Sage - not a piece of cake, but powerful and open
- Developed at the University of Washington, with contributions from mathematicians worldwide, Sage is a relatively new open-source tool designed to supplant proprietary mathematical analysis programs like Maple, Matlab, and Mathematica. All of these programs are mainstays of most mathematicians' toolkits, but have recently come under scrutiny because of the...
- Blog posts 2007-12-09
- Why Mathematica violates basic rules of math conduct
- Why Mathematica violates basic rules of math conductOr......be prepared to explain how to do the work without the proprietary software in question. I wouldn't accept a theorem as proved just because Mathematica says it is, but proper mathematical software (and I've never used Mathematica) should be able to output...
- Discussion threads 2007-11-19
- The falling price of graphics cards and RAM will be the death of the 32-bit OS
- The falling price of graphics cards and RAM will be the death of the 32-bit OSAAAH! We're running out of places to put F's!!!NT :)1GB RAM, Entry-level graphics is enough for the averageYes, this configuration is enough for Windows Vista Ultimate plus some RAM hungry apps such as MATLAB, Photoshop...
- Discussion threads 2007-11-12
- Palmprint Recognition System (zip)
- Palmprint Recognition System - Matlab Source Code. In the field of biometrics, palmprint is a novel but promising technology. Limited work has been reported on palmprint identification and verification, despite the importance of palmprint features. There are many unique features in a palmprint image that can be used for personal...
- Software downloads 2007-10-11
- Quick! We need a calculator! - Excel 2007 bug
- Quick! We need a calculator! - Excel 2007 bugUpdateIf there is a decimal remainder, it displays the correct amount. I ran the numbers, and got the 100,000 on the first 13 lines, but every line below that I got 65,535.03.I don't know how you got the last 5...
- Discussion threads 2007-09-25
- Axiomatic Multi-Platform C (dmg)
- AMPC compiles ANSI C programs directly into Java bytecodes to run on any platform where a Java runtime is available. AMPC can also be used to integrate C and Java programs since AMPC's C functions can directly call numerous Java methods and vice versa. AMPC supports ANSI C 1989 (ISO...
- Software downloads 2007-09-14
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- The Cisco Mobility Resource Center is your source for FREE mobility solutions
-
The Cisco Mobility Resource Center offers FREE videos, downloads, podcasts and more, all designed to help small and medium businesses get mobile connectivity solutions, improve productivity and drive sales and revenue.
- New mobility solutions at the Cisco Mobility Resource Center
The Green Enterprise
-
- A look into the enterprise to explore eco-friendly practices and innovations. In this ZDNet video series learn about what's motivating green tech, and how green technologies are impacting IT. 0:42
-
Harnessing the power of waves
3:13
-
Planting solar gardens
5:06
-
Fill your car for $1.10 a gallon?
1:43
- All series videos »







