Mathematica

Using NodeJS in Mathematica 12

Written by on June 8, 2019 in Mathematica, Programming with 0 Comments
Using NodeJS in Mathematica 12

In an earlier article, I had described Python integration in Mathematica 12. In addition to Python, NodeJS is also supported as a default “external” language. In today’s article, I will focus on NodeJS integration. By the way, NodeJS support was introduced in Mathematica 11.2. Before using NodeJS with Mathematica 12, the system must be configured […]

Continue Reading

Currying in Mathematica

Written by on May 19, 2019 in LISP, Mathematica, Programming with 0 Comments
Currying in Mathematica

One of the more recent additions to the core Wolfram Language is the “Curry” function. It was introduced in Mathematica ver 11.3 and is still (as of ver 12.0) considered Experimental. In this post, I would like to go over this function briefly. Non-curried functions in Mathematica have to be invoked with the arguments (both […]

Continue Reading

Python Integration in Mathematica 12

Written by on May 5, 2019 in Mathematica, Programming, Python with 0 Comments
Python Integration in Mathematica 12

Mathematica has had Python support since ver 11.2 through ExternalEvaluate[]. In ver 11.3 it was possible to input Python expression in a cell by beginning with “>” character. The good news is that Mathematica 12 has significantly enhanced this integration. Python Cells Let us start with the simplest way to use Python code in Mathematica. […]

Continue Reading

TextContents[ ] Function in Mathematica 12

Written by on April 21, 2019 in Mathematica, Natural Language Processing, Programming with 0 Comments
TextContents[ ] Function in Mathematica 12

Mathematica 12 was released a few days ago.  It has been over a year since version 11.3 came out in March 2018. The long wait appears justified since the new release boasts of numerous improvements and new features across several areas. You may want to read this blog post by Stephen Wolfram. In the area of […]

Continue Reading

Question Answering in Mathematica

Written by on March 25, 2018 in Mathematica, Natural Language Processing, Programming with 0 Comments
Question Answering in Mathematica

About 10 days ago, I received an update for Mathematica. The latest version is 11.3.0. As usual, I looked through the list of new features in this release. There are several new features, but one of them attracted my attention immediately: There is a new function FindTextualAnswer that, given a piece of text and a question, can […]

Continue Reading

Analysing Screenplay in Mathematica – II

Written by on January 14, 2018 in Mathematica, Programming with 0 Comments
Analysing Screenplay in Mathematica – II

In the previous post I showed how we can use Mathematica to analyse screenplays, and gave some interesting statistics about the various characters and scenes from the movie The Prestige. In today’s post, I want to continue that discussion by sharing some more statistics, and then look at another movie, The Bourne Ultimatum. We concluded […]

Continue Reading

Analysing Screenplay with Mathematica

Written by on January 1, 2018 in Mathematica, Programming with 0 Comments
Analysing Screenplay with Mathematica

I have a close relative who is an aspiring movie screenplay writer. During one of our recent meetings, he shared with me with a lot of interesting information about screenplay writing and its challenges. He even lent me a few good books to read further. One of the books is Essentials of Screenwriting by Richard […]

Continue Reading

Checking Image Overlap with Mathematica – Part 3

Written by on January 16, 2017 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 3

This is the  third and the last in the series of articles on checking image overlap using Mathematica. Let us take a quick look at the images that we are using as samples (image1 and image3 in the first row, image3 and image4 in the second row): The first technique we will consider today is […]

Continue Reading

Checking Image Overlap with Mathematica – Part 2

Written by on December 25, 2016 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 2

In the previous post, we discussed one technique to check the overlap between two given images of equal dimensions. In today’s post, let us look at another idea that uses Mathematica’s ImageCorrespondingPoints function. As per the documentation, the ImageCorrespondingPoints function finds a set of matching interest points between two given images and returns their coordinates. Internally […]

Continue Reading

Checking Image Overlap with Mathematica

Written by on December 5, 2016 in Image Processing, Mathematica with 0 Comments
Checking Image Overlap with Mathematica

Recently I had to solve a seemingly simple problem: Given two images, can we find out if there is any overlap between the two? Where does such a requirement arise? One use case is in photogrammetry, where in order to build an orthomosaic from multiple images, there must be at least 70% overlap between consecutive images. […]

Continue Reading

Top