Questions about calculating with units in Mathematica.

learn more… | top users | synonyms (2)

1
vote
1answer
56 views

Can I convert a list of units to a different base set?

I have a list of quantities with varying units (a short example list is shown below): ...
9
votes
0answers
119 views

Why is this evaluation halved when adding units?

Why does this strange behavior occur when dealing with units and quantities? ...
6
votes
0answers
364 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 ...
5
votes
0answers
202 views

Units: Custom-defined units possible?

Converting between revolutions per minute (RPM) and revolutions per second (RPS) is not straightforward for me in Mathematica. I know that $1\; \text{RPM} = \frac{2\; \times\; \Pi\; ...
5
votes
0answers
178 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 ...
3
votes
0answers
51 views

Powers of dimensionless quantities: is this a bug?

Today I came across the following behavior: Quantity[x, "Minutes"/"Minutes"]^-1 (* Quantity[1/x, (1/#1 &)[("Minutes")/("Minutes")]] *) It seems that ...
2
votes
0answers
28 views

TimeSeriesInsert issue with Quantity expressions

This first sample code works as expected: ...
2
votes
0answers
82 views

Quantities formatting problem

So I've developed this simple code ...
2
votes
0answers
114 views

Is it possible to use Gaussian cgs units in $Mathematica$ computations?

I was trying to do computations in Gaussian cgs units, and of course I failed due to dimensional issues. For instance, $q_1 q_2/r$ cannot be converted to $\mathrm{erg}$ since Gaussian system uses ...
1
vote
0answers
20 views

Using Infinity with AutomaticUnits

I am using the AutomaticUnits package in Mathematica 10, and I am writing some unit checking functions. However, I run into a problem when I have an Infinity, since ...
1
vote
0answers
41 views

Using Quantity[] units causes errors in my calculation

I have an interpolation function in which I wish to use actual units. If I perform the calculation normally, it works fine and returns a proper FittedModel. To illustrate my problem, consider the ...
1
vote
0answers
43 views

Inequality involving Quantity stays unevaluated

Mathematica 10.1.0, Windows 8.1 x64 An expression like this one a < x < b is represented as Less[a, x, b] while ...
1
vote
0answers
78 views

Geodesy without units?

Suppose I'm interested in the latitude of Los Angeles and I do the following: ...
1
vote
0answers
96 views

Insert a Quantity Unit literal in TraditionalForm

Is there a keyboard shortcut for creating something like the result of this: Quantity["Kilograms" * ("Meters")^2 / ("Seconds")^2] After copying the result to a ...
1
vote
0answers
73 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 ...
0
votes
0answers
15 views

QuantityArray display and UnitConvert

In the reference: But if you try (Mathematica 10.1 Windows 8.1 x84): qa = QuantityArray[{2.3, 1.5, 9.0}, "Meters"]
0
votes
0answers
63 views

Mathematica 10.1 doesn't recognize “Events” unit

Today's Wolfram blog post inspired me to play with the TemporalData and MovingMap features, and in the process of doing so, I ...
0
votes
0answers
64 views

Plotting Earth's position with units

I'm trying to plot the Earth position with the Sun in the origin. I have two lists like this: ...
0
votes
0answers
34 views

Why numerical functions can't digest InterpolatingFunction with units?

Answering this question gave me the idea that I must be missing something.. In brief, numerical functions generally 'understand' units: ...