Questions about using, converting, or interpreting units of measurement in Mathematica.

learn more… | top users | synonyms (2)

3
votes
2answers
1k views

Units, plotting and empty plots

maybe I'm completely newbie but I can't understand the behavior of units and the command plot. I'm doing some easy plotting of the state equation for gasses: ...
2
votes
0answers
77 views

Will aliasing the Quantity and UnitConvert functions to “in” and “to” create problems?

It seems that there is a lot of interest in enhancing the use of units in Mathematica; various solutions in the name of brevity, correctness, and general utility have been demonstrated. I've begun ...
1
vote
0answers
125 views

How can I say that all quantities need to be positive (and real)? [duplicate]

Can you say at the beginning of a script in Mathematica that you want all the quantities to be positive (and real)? So that in all calculations, only the real values of these quantities will be ...
5
votes
0answers
197 views

Quantity and Trig functions

I have a bunch of data to which I've assigned units using Quantity, including some angular measurements in degrees. I'd like to be able to use these measurements ...
2
votes
0answers
80 views

List of supported units in Mathematica 9 [duplicate]

Is there a list of supported units in Mathematica 9 documentation? I personal haven't found any; even the physical constants (newly supported as units in 9) can only be found in compatibility ...
12
votes
1answer
468 views

How do I seamlessly migrate from the older Units package to Mathematica 9's Quantity objects?

I have several notebooks that make use of the Units package and would like to be able to work simultaneously with the older units and ...
2
votes
1answer
2k views

Plotting with Units

I'm trying to get Mathematica to plot with units, but I'm having some trouble. Below is a minimal example of trying to plot y = x, where ...
18
votes
3answers
682 views

Kelvin per Kelvin Difference

Bug introduced in 9 and partially persists through 10.2 or later The specific bug described in the original question is fixed ("Kelvin" is correctly recognized as ...
3
votes
3answers
290 views

How to deal with units in logarithms?

I'm trying to take a formula, take it's integral which yields a formula with logarithms, and then directly plug in values with units and get an answer. However if the units go into any of the ...
29
votes
2answers
1k views

Built-in unit strings recognized by Quantity?

It’s great that Quantity can utilize Wolfram Alpha to interpret unit strings that it doesn’t recognize, but I need my code to work on machines that do not have ...
4
votes
1answer
166 views

NumberForm and units

NumberForm can be used to print Quantities to a specified precision. For example, x=Quantity[5.123456789,"Meters"]; 5.12346 m Print[NumberForm[x,{4,2}]] 5.12 m ...
8
votes
1answer
336 views

Cannot plot Quantity values with DateListPlot

Is there a way to use DateListPlot with Quantity values? I retrieved the following time series data from WolframAlpha: ...
7
votes
0answers
386 views

Incomplete implementation of units?

I've been playing around with the new units capability in MMA9 and I'm becoming a bit frustrated with what I perceive as an incomplete implementation of this capability and I'm wondering if there are ...
15
votes
1answer
2k views

Is there a “No Units” (i.e., dimensionless) unit?

I would like to be able to call the Quantity function with a null unit so that it returns the original dimensionless value. For example, ...
3
votes
1answer
728 views

Unit issues in Mathematica 9

I posted the following on the Google+ group comp.soft-sys.math.mathematica and had no luck with responses. I've done a Google search and, to the best of my ability, ...
37
votes
4answers
3k views

Are Mathematica 9 and 10 units really slow?

This generates 75 unitized pairs for a plot that displays physical units: ...
5
votes
1answer
361 views

Getting all physical units with prefixes

How we can get the list with all physical units and prefixes from WolframAlpha and make symbols from the result to be equal their corresponding quantities like described in this post?
9
votes
1answer
265 views

Where is the unit after a calculation?

I was playing with some of the new features, and when I type e.g. Quantity[10, "ml"] + Quantity[250 - 100, "ml"] I get ...
5
votes
1answer
807 views

Simplifying to different units

Is there a way to force Mathematica to UnitSimplify to a different unit? For example, I would like kg m^2/s^2 to simplify to ...
3
votes
3answers
256 views

Inputting abbreviated units [duplicate]

Possible Duplicate: Simpler input for the new unit support Is there a way to input abbreviated units directly from the keyboard? One can get a value with abbreviated units through the ...
2
votes
2answers
1k views

Use of own unit abbreviations

I have been using AutomaticUnits in my calculations. In this package all I had to do was to declare the units I wanted e.g. mm, kN, sec, kPa, litres etc. in terms of existing units, and then use them ...
27
votes
2answers
573 views

Should 0 * 5ft be 0 or 0ft?

After playing with the new quantity system in Mathematica 9 for a while, I keep stumbling over this issue: 0 * Quantity[1, "Meters"] is not the same as ...
13
votes
5answers
1k views

Implementing CGS unit system in Mathematica 9

So I've just installed the trial version of Mathematica 9. The first noticeable feature for me is the new built-in physical units. I used AutomaticUnits package ...
14
votes
1answer
453 views

Unexpected behavior of UnitConvert

When I evaluate this expression: ...
29
votes
7answers
3k views

Simpler input for the new unit support

I've been playing with the new unit support in Mathematica 9. It seems very useful, but the syntax is very verbose. Instead of typing: ...