Community Profile

photo

Ben Cunningham


Last seen: 2 months ago

MathWorks

30 total contributions since 2018

Ben Cunningham's Badges

  • First Review
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View details...

Contributions in
View by

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

6 months ago | 0

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

6 months ago | 0

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

7 months ago | 0

Answered
R2019b version and AD9361 SDR does not work correctly.
This is a duplicate question. Please continue the existing thread.

7 months ago | 0

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

8 months ago | 1

| accepted

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

8 months ago | 0

Answered
"Error using matlabshared.internal.ssh2Client"
This is a duplicate question.

8 months ago | 0

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

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

1 year ago

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

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

1 year ago | 0

| accepted

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

1 year ago | 1

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

1 year 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, ...

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

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

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

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

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

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

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

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

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

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

1 year ago