This function solves the "forward geodesic problem," which is to compute the endpoint of a geodesic (shortest-distance) path on the ellipsoidal earth, given the start point, a path length, and a starting azimuth.
In response to a user request, this function numerically inverts the previously published VDIST function, which is contained within. (VDIST solves the "inverse geodesic problem" of computing the distance...
The gradient function in Matlab allows you to compute the slope of a curve along its entire length. But if your curve is a noisy one, then gradient will also be noisy. In this event one might desire to fit a moderately low order polynomial...
While I have seen many permutation recipes on this site, there seems to be no recipe yet which shows how to generate the permutations of a "bag". A bag is like a set but can contain elements more than once.
I decided not to customize the xml-parser to fit the structure of a xml-document, but to make a parser that adapts the structure of the document. By converting the xml-document in this way, the access to the elements is simple and...
How to obtain the name of a method or a function from within the running method/function.
Acknowledgement: the solution to this problem is given by Christian Tismer (tismer@tismer.com; Mission Impossible 5oftware)
This demo shows how to use MATLAB, Optimization Toolbox, and Genetic Algorithm and Direct Search Toolbox to optimize the design of a double wishbone suspension system.
Note: You will need to have the following products installed in...
Pi is a constant, an irrational number and its notation represent the sixteenth letter of the Greek alphabet, though its value is equal to the ratio of a circleâ€™s circumference to its diameter.
However, a Muslim scientist Abu-Abdullah...
Function used to compute the center of the circle given two points and a radius. Takes only real inputs and gives only real outputs. Make sure the units are consistent
%Inputs: %P1-First point e.g. [3 4] => (x1,y1) ...
This script automatically expands the size of a textbox to fit all of the entered text.
Form Color Selector is a Dynamic HTML script that allows users to update the value of a form field with a color value by selecting it from a color chart.
The color is selected from a popup layer that displays the 216 web-safe colors....
Generic framework designed to leverage the power of a templating system and PHP includes, all running through a single display script.
The project allows incredibly fast building of an intelligent website without having to write a...
PHP Form2Text is a script that allows your website visitors to send the content of a form to a textfile.
A script to fetch the contents of the open directory and display them on your site. Can be used as a stand-alone script or as a php-nuke add-on.
A script to automate the movement of databases from one Microsoft SQL Server to another. Designed to detach, copy, and reattach database files with a single call. Used to move databases with a minimum of downtime.
Process contains...
This m file allows you to test if a point P is located in the area of a rectangle
PHPMySQLbackup allows you to perform the backup of a mysql database in mysqldump format without using mysqldump or a system command, only PHP.
The class makes a SQL script or GZip archive to download.
Tumblr Widget allows you to display the contents of a Tumblr in any widget-enabled area of your WordPress blog. You can import all Tumblr posts or specify certain categories (photo, link, quotation, etc.) to display.
Requires cURL and...
Get the title of a page is an easy tutorial through which the users can collect information about the method of accessing the title of particular page. The author gives details about the method of utilizing various functionalities to retrieve the...
Use this script to display the age of any person or past event, in a variety of units. Can be invoked multiple times on the same page to calculate/display multiple ages. /
The code implements the so called Faddeev-Leverrier algorithm to compute the coefficients of the characteristic polynomial of a given matrix and to get the inverse of the matrix without extra cost. |