Community Profile # Sam Roberts

Last seen: 4 months ago Active since 2012

Professional Interests:

#### Statistics

All
• • • #### Content Feed

View by

Question

Programmatically package a toolbox
The toolbox packaging functionality new in 14b looks pretty nice. However, you seem to be able to package a toolbox only via ...

8 years ago | 1 answer | 0

### 1

Question

Customize display of an enumeration class
I'd like to customize the display of an enumeration class using |matlab.mixin.CustomDisplay| . If I have a regular (non-enume...

8 years ago | 1 answer | 0

### 1

Question

Questions on event attributes
I have two questions about event attributes in MATLAB. i) With a regular event, it's possible to set the |ListenAccess| attri...

9 years ago | 1 answer | 1

### 1

Solved

Given a and b, return the sum a+b in c.

9 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

9 years ago

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

9 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Solved

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

9 years ago

Question

Detect the MATLAB Help Browser
I'd like to create some HTML documentation for a large MATLAB application, to be viewed mainly within the MATLAB Help Browser, i...

10 years ago | 0 answers | 1