When I evaluate this expression:
UnitConvert[Quantity[1920*1080, "Bytes"]*Quantity[24, "1/Seconds"] +
Quantity[44, "Kilohertz"]*Quantity[16, "Bits"],
Quantity["Megabytes"/"Seconds"]]
I get an error message:
UnitConvert::unkunit: Unable to interpret unit specification 1MB/s. >>
But the units should be compatible. FWIW, the old Units package has no problems with the equivalent:
Needs["Units`"]
Convert[1920*1080 Byte*24/Second + 44 Kilo Hertz*16 Bit, Mega Byte/Hour]
The only workaround I've found was to unit-convert the subexpressions myself:
UnitConvert[Quantity[1920*1080, "Bytes"]*Quantity[24, "1/Seconds"] +
UnitConvert[Quantity[44, "Kilohertz"], 1/"Seconds"]*
UnitConvert[Quantity[16, "Bits"], "Bytes"],
Quantity["Megabytes"/"Seconds"]]
Is this a bug or am I using it wrong?
31159/625 MB/s
on 9.0 for Mac OS X x86 (64-bit) (November 20, 2012) $\endgroup$ – rm -rf♦ Nov 28 '12 at 21:25