Mathematica Tips 2

@MathematicaTip のツイートをまとめました。数式処理プログラム Mathematica を使う人にとって便利な Tips が満載! 過去のツイートはこちら http://togetter.com/li/150700 続きを読む
1
前へ 1 2 ・・ 10 次へ
Mathematica Tips @MathematicaTip

Test whether "x" is a key in the association: KeyMemberQ[<|"x" -> 1|>, "x"]

2015-11-10 00:51:42
Mathematica Tips @MathematicaTip

Apply GenerateHTTPResponse to Delayed to locally simulate a cloud server: GenerateHTTPResponse[Delayed[2 + 2]]; %["Body"]

2015-11-07 01:00:12
Mathematica Tips @MathematicaTip

Median of a shifted Gompertz distribution: Median[ShiftedGompertzDistribution[\[Lambda], \[Xi]]]

2015-11-06 00:55:00
Mathematica Tips @MathematicaTip

Generate a single pseudorandom matrix: RandomVariate[WishartMatrixDistribution[10, {{1, 1/3}, {1/3, 1}}]]

2015-11-05 01:43:09
Mathematica Tips @MathematicaTip

Compute the area of a geo disk centered at your geo location: GeoArea[GeoDisk[Here, Quantity[100, "Miles"]]]

2015-11-04 01:14:46
Mathematica Tips @MathematicaTip

Six random adjectives selected from known words: RandomWord[{"KnownWords", "Adjective"}, 6]

2015-11-03 01:20:06
Mathematica Tips @MathematicaTip

Find probabilities of dying at particular age: MortalityData[<|"Age"->Quantity[70,"Years"], "Gender"->"Female"|>,"DeathProbabilityBefore"]

2015-10-31 00:20:09
Mathematica Tips @MathematicaTip

Search for palindromic primes: Select[Array[Prime, 100], PalindromeQ]

2015-10-30 00:00:04
Mathematica Tips @MathematicaTip

Use FormPage to continuously interact with a web page: CloudDeploy[FormPage["country" -> "Country", GeoGraphics[#country] &]]

2015-10-29 00:12:24
Mathematica Tips @MathematicaTip

Generate a pseudorandom matrix: RandomVariate[WishartMatrixDistribution[10, {{1, 1/3}, {1/3, 1}}]]

2015-10-27 23:51:39
Mathematica Tips @MathematicaTip

Generate a Cornu spiral: DSolve[{x'[s] == Cos[t[s]], y'[s] == Sin[t[s]], t'[s] == s, x[0] == 0, y[0] == 0, t[0] == 0}, {x, y, t}, s]

2015-10-26 23:28:41
Mathematica Tips @MathematicaTip

Estimate travel time: TravelTime[{Entity["City", {"Miami","Florida","UnitedStates"}], Entity["City", {"NewYork","NewYork","UnitedStates"}]}]

2015-10-24 00:10:19
Mathematica Tips @MathematicaTip

Transliterate from one writing system to another: Transliterate["しんばし", "Hiragana" -> "Hebrew"]

2015-10-22 23:31:13
Mathematica Tips @MathematicaTip

Find a 3D model of an anatomical structure: Entity["AnatomicalStructure", "LeftFemur"]["Graphics3D"]

2015-10-22 00:23:25
Mathematica Tips @MathematicaTip

Put a frame around every element: TextGrid[{{"First row:", "a line"}, {"Second row:", "another line"}}, Frame -> All]

2015-10-21 04:23:02
Mathematica Tips @MathematicaTip

Mathematica 10.3 was recently released. Browse the summary of new features here: bit.ly/1NkfGWY

2015-10-19 23:36:10
Mathematica Tips @MathematicaTip

Random unit capsules: Graphics3D[Table[{EdgeForm[Opacity[.3]], Hue[RandomReal[]], CapsuleShape[RandomReal[10, {2, 3}], 1]}, {20}]]

2015-10-17 00:18:57
Mathematica Tips @MathematicaTip

Plot a density histogram for a dataset: DensityHistogram[RandomVariate[BinormalDistribution[.5], 500]]

2015-10-16 00:16:01
Mathematica Tips @MathematicaTip

Generate a path based on the Rudin–Shapiro sequence: Graphics[Line[AnglePath[Array[RudinShapiro, 4096] 2 Pi/5]]]

2015-10-15 00:45:24
Mathematica Tips @MathematicaTip

Replace an element of a list with Nothing to remove it: {a, b, c, d} /. c -> Nothing

2015-10-14 01:16:59
Mathematica Tips @MathematicaTip

Connect to SeatGeek using the Wolfram Language to search for event tickets: bit.ly/1PpWGbJ

2015-10-13 02:25:08
Mathematica Tips @MathematicaTip

Generate a search report for the string "dog" in an example document source: TextSearchReport["ExampleData/Text", "dog"]

2015-10-10 00:13:09
Mathematica Tips @MathematicaTip

Deploy a mail receiver that sends custom responses back to the sender: bit.ly/1WPyz8u

2015-10-09 01:40:22
Mathematica Tips @MathematicaTip

Differentiate a unit step signal: DifferentiatorFilter[{0., 0., 0., 0., 1., 1., 1., 1.}, .5]

2015-10-08 02:31:09
Mathematica Tips @MathematicaTip

Retouch a crack in a photograph with Inpaint: bit.ly/1VB4JCd

2015-10-05 23:35:44
前へ 1 2 ・・ 10 次へ