Community Profile

# Rob Purser

### MathWorks

Last seen: 1 day ago Active since 2011

All

#### Content Feed

View by

Submitted

Climate Data Store Toolbox for MATLAB
MATLAB(R) Tools to access the Climate Data Store (https://cds.climate.copernicus.eu/)

3 days ago | 37 downloads |

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

4 months ago

Solved

Find max
Find the maximum value of a given vector or matrix.

4 months ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

4 months ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

4 months ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4 months ago

Building a Word Cloud app
There is now a wordcloud function in MATLAB starting in R2017b: sonnets = fileread("sonnets.txt"); wordcloud(sonnets)

2 years ago | 0

| accepted

Channel

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

3 years ago

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

4 years 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.

5 years 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®

6 years ago | 3 downloads |

Channel

Car Counter 15 minute counts

6 years 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...

7 years 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...

7 years 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 ...

7 years ago | 0

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

7 years ago | 0

| accepted

Channel

Cheerlights Analysis

7 years ago

Channel

MathWorks Weather Station Visualizations
Visualizations associated with MathWorks Weather Station

7 years ago

Solved

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

7 years 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...

7 years 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]

7 years 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...

7 years 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.

7 years 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...

7 years 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 ...

8 years 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...

9 years ago | 1

Channel

Fun with Arduino
Example channels from Fun with Arduino course

9 years 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...

10 years 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 ...

10 years 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...

10 years ago