# Ben Cunningham

### MathWorks

**Statistics**

RANK**1,317**

of 239,571

REPUTATION**32**

CONTRIBUTIONS

**0** Questions

**17** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**4**

RANK

of 16,823

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Plot GUI Color test

Each button has a property 'Background Colour'. You can use a simple state machine to set the colour in [Red, Green, Blue]. See...

1 year ago | 0

Error using R2019b version of the MATLAB

It looks like you are having trouble connecting to your radio. Can you verify that you can complete the Hardware Setup App or ma...

1 year ago | 0

Error using R2019b version of the MATLAB

Thank you for getting back with the further details of your setup. Please verify you can complete the steps outlined in the Man...

2 years ago | 0

R2019b version and AD9361 SDR does not work correctly.

This is a duplicate question. Please continue the existing thread.

2 years ago | 0

Datetime from csv: format change from 2017b to 2018 and higher

Hi Emma, I haven't checked between releases but I noticed that the 'readtable' function has a 'DatetimeType' name-value pair op...

2 years ago | 1

| accepted

MATLAB 2019b Installation of SDR for Xilinx zynq Radio problem.

This is a duplicate question. With regards the most recent comment which is an unrelated issue, it is duplicated here.

2 years ago | 0

ERROR '/home/jarul/Documents/MATLAB/SupportPackages/R2019b/toolbox/target/supportpackages/shared_linuxservices/+matlabshared/+internal/ssh2client.p'

This is a duplicate question.

2 years ago | 0

"Error using matlabshared.internal.ssh2Client"

This is a duplicate question.

2 years ago | 0

How can I save captured data from SDR hardware?

Sorry nobody got back to you earlier. However it sounds like you are after the new 'capture' functionality introduced in 19b....

2 years ago | 0

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

I need help with my GUI

See the 'interruptible' property of callbacks in app designer - e.g. here under the heading 'Callback execution control'. You n...

2 years ago | 0

| accepted

How to store value in simulink

There is a good blog entry covering this. I'd recommend the 'Enabled Subsystem' approach (coincidently the author's favourite a...

2 years ago | 0

Real Time data into Simulink

Have you tried the 'MATLAB Function' block? You may be able to insert part of your script into the function (double click on ...

2 years ago | 0

| accepted

Get Matlab Startup directory

You can use : >> pwd to return the present working directory in MATLAB. You define your procedure as : I start Matlab with...

2 years ago | 0

strcmp with or-condition

Generally I would recommend just writing out two lines as Adam proposed earlier. But if you really want 'one line' with a lis...

2 years ago | 0

| accepted

Is it possible to make a while error or while no error Matlab

I don't quite follow the use of 'while' here but if I understand correctly then hopefully the following will be useful. You c...

2 years ago | 1

Why the loop does not stopped?

See the 'interruptible' property of callbacks in app designer - e.g. here under the heading 'Callback execution control'. The...

2 years ago | 0

| accepted

I want this code to run only once. Battery Charge/Discharge

One way of doing this would be using Persistent variables - but just as with global variables you will need to be careful - to ...

2 years ago | 2

| accepted

Solved

Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

3 years ago

Solved

Connect Four Win Checker

<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

3 years ago

Solved

The Goldbach Conjecture, Part 2

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

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

3 years ago

Solved

Knight's Tour Checker

Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

3 years ago

Solved

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

3 years ago

Solved

What is the next step in Conway's Life?

Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

3 years ago

Solved

Find the peak 3n+1 sequence value

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

3 years ago

Solved

Encode Roman Numerals

Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

3 years ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

3 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

3 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

3 years ago