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

learn more… | top users | synonyms (2)

7
votes
0answers
392 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 ...
6
votes
0answers
85 views

Spectral Radiance unit Flicks is not correct

I was pleasantly supersized that Mathematica (10.3, 10.4 and 10.4.1) had the unit $\text{flick}$ until I spent several hours trying to figure out why all my calculations were million times off! I ...
5
votes
0answers
58 views

Calculations with “Quantities” Run Slow. What am I doing wrong?

This code plots a 1000 point black body radiation curve in 0.7 seconds. ...
5
votes
0answers
200 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 ...
4
votes
0answers
73 views

Inequality involving Quantity stays unevaluated

Bug introduced in V10.1 and presisting through V10.4 An expression like this one a < x < b is represented as ...
3
votes
0answers
104 views

How to insert a formula to FormulaData?

Unit Checking Demo In order to throw a unit error,we run the code ...
3
votes
0answers
163 views

Physical constants seems broken in 10.3

For example, if I just enter Quantity["GravitationalConstant"], then the result is this ...
3
votes
0answers
47 views

Unit of output changes when constant quantity is moved over integral

Why do these two expressions give the same result in different units? In: Integrate[ gravitationalAcceleration Quantity[1, "g/m^3"] fluidArea h, {h, 0, height}] ...
3
votes
0answers
47 views

TimeSeriesInsert issue with Quantity expressions

Solved in Mathematica v10.3 This first sample code works as expected: ...
3
votes
0answers
74 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 ...
3
votes
0answers
101 views

Quantities formatting problem

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

How would one make units work with a variable of unknown magnitude?

So, right now, I am working on setting various quantities up as functions of R. R will be varying later on, so right now I just have it set to the variable radius. It's breaking my dimensional ...
2
votes
0answers
149 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 $4\...
2
votes
0answers
124 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 <...
2
votes
0answers
78 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
30 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
56 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
88 views

Geodesy without units?

Suppose I'm interested in the latitude of Los Angeles and I do the following: ...
0
votes
0answers
34 views

How to set UnitSystem permanently

I would like to set the system of units ($UnitSystem) permanently to "Metric". I know that I can do ...
0
votes
0answers
22 views

Set default unit for information rate and others

I am using mathematica to convert units to canonical form, like I have 0.2 KBYTE/s and I want to get 200. So I want to see all '...
0
votes
0answers
23 views

Evaluating UnitConvert inside LogPlot

I imported several Physical Quantities with their units and doing single calculations with them works fine and return the right unit, which I can change by UnitConvert[]... For the LogPlot I made a ...