Community Profile

# Rob Purser

### MathWorks

65 total contributions since 2011

Senior Development Manager for IoT and Hardware Interfacing for MATLAB at MathWorks. Leads the creation of software that connects MATLAB with the real world.

View details...

Contributions in
View by

Channel

Daily Temperature Stats, Natick MA
High, Low, Mean, Median for each day from Natick Weather Station channel 12397

2달 ago

I have to create a matrix using only zeros, ones and eye
A = eye(5); A(1,:) = ones(1,5);

6달 ago | 0

Average minutes dataset to 10 minutes dataset.
Check out the <https://www.mathworks.com/help/matlab/ref/retime.html retime> function in MATLAB that was introduced in R2016b.

2년 이상 ago | 0

Submitted

Read a National Instruments USB-TC01 single channel Thermometer in MATLAB
Read a National Instruments USB-TC01 single channel thermometer from MATLAB®

Channel

Car Counter 15 minute counts

약 3년 ago

DC Motor Arduino Matlab
MATLAB Arduino supports the PWM (Pulse Width Modulation) mode on various digital pins. Check out this video: <http://www.mat...

3년 이상 ago | 0

Element-wise multiplication of duration and double array
The result of the |<http://www.mathworks.com/help/matlab/matlab_prog/compute-elapsed-time.html diff>| on |dispt| (which I assume...

4년 이하 ago | 0

convert char to double
Assuming you're in R2014b or later: Recreate your data data = ['19-Jan-2015 11:30:00.000 11.8950011 1.7625011 ...

4년 이하 ago | 0

Simulink Hardware Support Package for Arduino [Thingspeak Write and r2014a version]
Support was added in R2014b. -Rob Purser

4년 이하 ago | 0

| accepted

Channel

Cheerlights Analysis

4년 이하 ago

Channel

MathWorks Weather Station Visualizations
Visualizations associated with MathWorks Weather Station

4년 이하 ago

Solved

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

4년 이상 ago

Channel

Growing Degree Days - Natick, MA
Growing Degree Days for Natick, MA, based on the weather data from channel 12397. See https://en.wikipedia.org/wiki/Growing_deg...

4년 이상 ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4년 이상 ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

4년 이상 ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4년 이상 ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

4년 이상 ago

32 bit MATLAB on 64 bit Windows is not picking up my MCC device
Running 32-bit MATLAB on 64-bit Windows is a supported configuration as-of R2010b. In R2010a and earlier, this configuration is ...

약 5년 ago | 2

| accepted

Matlab Support package for SensorDAQ and Thermocouple.
Hi, Are you using the <http://www.mathworks.com/matlabcentral/fileexchange/32636-matlab-support-package-for-vernier-sensordaq...

5년 이상 ago | 1

Channel

Fun with Arduino
Example channels from Fun with Arduino course

6년 이하 ago

Solved

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

7년 이상 ago

Solved

The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

7년 이상 ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

7년 이상 ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7년 이상 ago

Solved

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

7년 이상 ago

Solved

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

7년 이상 ago

Solved

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

7년 이상 ago

Solved

Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

7년 이상 ago

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

7년 이상 ago

Solved

Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

7년 이상 ago