Scripts Index
Tools and Utilities Development Tools  

DIMENSION - tagging values with units

download download home home   report broken
important script information
company name:
Nathan Thern
license: Free
minimum requirements: MATLAB 6.5.1 (R13SP1)
functional limitations:
DIMENSION - tagging values with units description
Joe engineer's script works in radians and meters. The lab data files are in degrees and inches and the drawings are in mm. Joe tags everything with dimensions and never worries again about conversions. He even discovers a bug where a value he thought represented area really represents distance.Whirlwind Tour: >> side = dimension(500,'m') side = 500 m >> height = dimension(2.1,'km'); >> height + side ans = 2.6 km >> side + height ans = 2600 m >> height > dimension(1,'mi') ans = 1 >> convert(side*height,'acre') ans = 259.461 acre >> msquared = dimension(1,'m',2) msquared = 1 m^2 >> convert(side*height,msquared) ans = 1050000 m^2 >> speed = dimension(60,'mi','hr',-1); >> value(speed) ans = 60Or >> speed.value ans = 60 >> convert(speed,'kph') ans = 96.5606 kph >> ubase(speed) ans = 26.8224 m s^-1 >> ubase(dimension(1,'btu')) ans = 1055.06 kg m^2 s^-2 >> convert(height,'kg') ??? Error ==> units are incompatable >> height + speed ??? Error ==> units are incompatable >> speed * dimension(1.5,'hr') ans = 90 mi >> thickness = dimension([1,2;3,4],'in'); thickness = 1 2 3 4 in >> thickness(2,1) ans = 3 in >> [ thickness [ side/1000; height/1000 ] ] ans = 1 2 19.685 3 4 82.677 in >> thickness' ans = 1 3 2 4 in >> angle = dimension(30,'deg'); >> tan(angle) ans = 0.57735Any value can be used as an argument to DIMENSION: >> i_time = dimension(1*i,'s');Users can define their own units based on previously defined units or redefine existing units: >> frlng = dimension(220,'yd'); >> add_unit(frlng,'furlong'); >> convert(height,'furlong') ans = 10.439 furlong >> add_base(dimension, 'beaut'); >> add_unit(dimension(.75,'beaut','joule',-1),'tnt'); >> ubase(dimension(700,'tnt')) ans = 525 beaut s^2 kg^-1 m^-2Some defined units:s, sec, min, hr, dy, wk, yr, mon, milleniumm, cm, mm, a, km, ft, in, mil, yd, mi, nm, ly, au, parsecr, radian, deg, arcmin, arcsec, grad, cycle, revkg, gm, mg, tonne, lbm, oz, slug, ton, amuk, kelvin, rankineamp, mamole, molbit, byte, kB, MB, GB, TBcd, candledollar, $, centcc, l, ml, gal, qt, flozkph, knot, mph, cHz, KHz, MHz, GHz, rpmnt, dyne, lb, lbfjoule, erg, cal, btu, ev, mev, kwhsr, coulomb, ftlb, watt, gray, farad, ohm, mho, v, henry, tesla, gauss, wbThis is beta software and still in the bug-killing stage. Everything shown above works correctly, though.
Similar scripts
Rob Keyboard (Popularity: ) : This plugin is produced for holding on keyboard when pairing program. You can type "shift ctrl K" to lock intellJ by a Dialog with amusing words. You can lock intellJ by password, with configging password enabled.At first, you should add ...
CIE Coordinate Calculator (Popularity: ) : This software is for calculating the CIE chromaticity co-ordinates of phosphor materials using the photo luminescence data. The software also shows the position of the co-ordinates in chromaticity diagram and expected color of the material. Please note that the color ...
New Dream Coder for Oracle (Popularity: ) : This tool is an code generator for Oracle. While fetching large tables this tool reduces usage of memory. Some features of this tool are, it has new password ecryption, procedure builder, session monitor, SQL templates etc., It increases execution times ...
Foreign Exchange Options (Popularity: ) : fxoptions( S0, X, rd, rf, T, vol, style)Valuation of European and American call and put options on foreign exchange using Garman-Kohlhagen model.European option prices are given by an exact formula (Garman-Kohlhagen).American option prices are approximated using both binomial and trinomial ...
Anti Cut and Paste (Popularity: ) : This utility is helpful for programmers that allows them to search programming language source code's text fragments which have been copied and pasted. Some key features of this tool are, this tool supports both command line and Graphical User Interface ...
AC Protect Standard (Popularity: ) : This utility is used for avoiding hackers from cracking your software using special techniques called anti crack. It works with all windows platforms. Some features of this tool are, this tool compresses ocx, scr, exe, dll and more, dynamic encrypt ...
Bokai Barcode Image generator (Popularity: ) : This tool is used for barcode generator and which has an ActiveX control for printing barcodes. This tool contains more than twenty five barcode types. This tool supports only ActiveX control programs. Users can customize barcode parameters and design of ...
VBcodePrint (Popularity: ) : This Add-In to Microsoft Visual Basic 6 significantly enhances its source code printing capabilities. You can print any part of your VB project's source code from within the VB's development environment. / You can create and save your own output ...
Use Matlab Editor to Write and Run Ansys Program. (Popularity: ) : You don't have to switch your screen between Matlab, Ansys and UltraEdit or PSPad anymore, when you doing FEM-Analysis.You can use MEditor to write your Ansys APDL program and use the excellent feature of MEditor to structure your Code: Cell-Function, ...
VBAcodePrint (Popularity: ) : This add-in enables you to print Microsoft VBA source code in color of your applications across the entire Microsoft Office 2000 suite of applications: Word, Excel, Outlook, Access, PowerPoint, and FrontPage and any other VBA enabled software. / You can ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Similar Software
Computing with units (Popularity: ) : Java program for computations with values expressed in terms of physical or other units. Supports complicated mathematical expressions and user-defined functions. Invoked from scripts, line command, as GUI, or as applet. Extensive units data base.
Tvalx Units Converter (Popularity: ) : Tvalx Units Converter is a lightweight and reliable unit converter that deals with units of temperature, weight, length, volume and area.
Scientific Advantage Calculator for Pocket PC (Popularity: ) : Scientific Advantage™ is a Unit Aware™ calculator that lets you work with feet-inch-fraction dimensional values and includes advanced math functions, automatic solvers, and much more. Unit Aware™ means that you can effortlessly compute with units (not just convert). It also ...
Basic Advantage Calculator Combo for Windows and Pocket PCs (Popularity: ) : Advantage™ is a Unit Aware™ calculator that lets you work with feet-inch-fraction dimensional values. Unit Aware™ means that you can effortlessly compute with units (not just convert). Advantage also includes options to make the calculator work the way you want ...
Construction Advantage Calculator for Pocket PC (Popularity: ) : Construction Advantage™ is a Unit Aware™ calculator that lets you work with feet-inch-fraction dimensional values and includes advanced math functions, automatic solvers, and much more. Unit Aware™ means that you can effortlessly compute with units (not just convert). It also ...
Basic Advantage Calculator - Windows (Popularity: ) : AdvantageOao is a Unit AwareOao calculator that lets you work with feet-inch-fraction dimensional values. Unit AwareOao means that you can effortlessly compute with units (not just convert). Advantage also includes options to make the calculator work the way you want ...
Basic Advantage Combo (Popularity: ) : AdvantageOao is a Unit AwareOao calculator that lets you work with feet-inch-fraction dimensional values. Unit AwareOao means that you can effortlessly compute with units (not just convert). Advantage also includes options to make the calculator work the way you want ...
Scientific Advantage Calculator Combo (Popularity: ) : Scientific AdvantageOao is a Unit AwareOao calculator that lets you work with feet-inch-fraction dimensional values and includes advanced math functions, automatic solvers, and much more. Unit AwareOao means that you can effortlessly compute with units (not just convert). It also ...
Scientific Advantage Calculator (Popularity: ) : Scientific AdvantageOao is a Unit AwareOao calculator that lets you work with feet-inch-fraction dimensional values and includes advanced math functions, automatic solvers, and much more. Unit AwareOao means that you can effortlessly compute with units (not just convert). It also ...
Ultimate Advantage Calculator (Popularity: ) : Ultimate AdvantageOao is a Unit AwareOao calculator that lets you work with feet-inch-fraction dimensional values and includes advanced math functions, automatic solvers, and much more. Unit AwareOao means that you can effortlessly compute with units (not just convert). It also ...
ad


Rate me
supported os
Linux
Mac OSX
Macintosh
Win All, BSD, Solaris
stats
downloads 16
version 1.0
size in Kb 31
popularity   
646/370733
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews