Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

MATLAB
MATLAB

262
177
+ 1
17
R
R

1.2K
774
+ 1
319
Add tool

MATLAB vs R: What are the differences?

Developers describe MATLAB as "A high-level language and interactive environment for numerical computation, visualization, and programming". Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java. On the other hand, R is detailed as "A language and environment for statistical computing and graphics". R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.

MATLAB and R can be categorized as "Languages" tools.

"Simulink" is the primary reason why developers consider MATLAB over the competitors, whereas "Data analysis " was stated as the key factor in picking R.

According to the StackShare community, R has a broader approval, being mentioned in 128 company stacks & 97 developers stacks; compared to MATLAB, which is listed in 12 company stacks and 23 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is MATLAB?

Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.

What is R?

R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose MATLAB?
Why do developers choose R?

Sign up to add, upvote and see more prosMake informed product decisions

Sign up to add, upvote and see more consMake informed product decisions

What companies use MATLAB?
What companies use R?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with MATLAB?
What tools integrate with R?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to MATLAB and R?
NumPy
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
Octave
It is software featuring a high-level programming language, primarily intended for numerical computations. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with MATLAB.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives
Decisions about MATLAB and R
Eric Colson
Eric Colson
Chief Algorithms Officer at Stitch Fix · | 19 upvotes · 475.4K views
atStitch FixStitch Fix
Kafka
Kafka
PostgreSQL
PostgreSQL
Amazon S3
Amazon S3
Apache Spark
Apache Spark
Presto
Presto
Python
Python
R
R
PyTorch
PyTorch
Docker
Docker
Amazon EC2 Container Service
Amazon EC2 Container Service
#AWS
#Etl
#ML
#DataScience
#DataStack
#Data

The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

For more info:

#DataScience #DataStack #Data

See more
Interest over time
Reviews of MATLAB and R
No reviews found
How developers use MATLAB and R
Avatar of benyomin
benyomin uses RR

What are my other choices for a vectorized statistics language. Professor was pushing SAS Jump (or was that SPSS) with a menu-driven point and click approach. (Reproducibility can still be accomplished, you publish the script generated by all your clicks.) But I want to type everything, great online tutorials for R. I think I made the right pick.

Avatar of Ralic Lo
Ralic Lo uses RR

Connect to database, data analytics, draw diagram. Machine Learning application, and also used Spark-R for big data processing.

Avatar of Tino Gehlert
Tino Gehlert uses RR

Visualisation of air quality in various rooms by RShiny (hosted free on shinyapps.io)

Avatar of Ralic Lo
Ralic Lo uses MATLABMATLAB

For math calculation and solve partial differential equation numerically.

Avatar of Eliana Abraham
Eliana Abraham uses MATLABMATLAB

I used to be an EE major so you can see where that comes from.

Avatar of Solcast
Solcast uses MATLABMATLAB

Prediction, modelling, and simulation for Solar predictions

Avatar of Sesync
Sesync uses RR

R is primarily used by SESYNC's researchers

Avatar of STILLWATER SUPERCOMPUTING INC
STILLWATER SUPERCOMPUTING INC uses RR

Offline deep analytics and modeling

How much does MATLAB cost?
How much does R cost?
Pricing unavailable
News about MATLAB
More news
News about R
More news