Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.9K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

[?] Access elements of a QuantityArray?

Posted 7 years ago
POSTED BY: Tony Marino
2 Replies
Posted 7 years ago

Thanks Henrik! That's perfect.

POSTED BY: Tony Marino

I guess you are asking for ReplacePart, e.g. try:

temps = QuantityArray[ConstantArray[0, 5], "Kelvins"];
temps = ReplacePart[temps, 3 -> Quantity[273, "Kelvins"]];
temps[[3]]
POSTED BY: Henrik Schachner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard