Community Profile

photo

Adam Hicks


Last seen: 4 years ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Thankful Level 3

View badges

Feeds

View by

Question


How to get value of uicontrol object whose callback is executing?
I have a GUI with a variable number of uicontrol pushbuttons which share a single callback function. In order to make this work,...

5 years ago | 2 answers | 0

2

answers

Question


How to isolate a figure created in the callback of a GUI?
I have a GUI which displays next to a graph and contains a single input of an offset value for the graph. The callback for the e...

5 years ago | 0 answers | 0

0

answers

Solved


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

6 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

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

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

6 years ago

Solved


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

6 years ago

Question


Problem with textscan when file doesn't exist.
In my program I check if there is stored information on the user in userdata.txt. When the file doesn't exist yet I get the erro...

6 years ago | 2 answers | 0

2

answers

Question


Red object detection picking up yellow color.
Part of my program isolates the red objects in an image and displays them in a binary image. It works well but has been includin...

6 years ago | 1 answer | 0

1

answer

Question


Reading strings from text file to a MATLAB cell array
I have a text file with data that looks like this: Ta Example Name1 Tn Example Name2 Th Example Name3 Td Example N...

6 years ago | 1 answer | 0

1

answer

Question


Getting 'Subscripted assignment dimension mismatch' error when my image dimensions match?
I am trying to overlay one image on another and I keep getting a dimension mismatch error. Here is the relevant block of code: ...

6 years ago | 1 answer | 0

1

answer

Question


Using 'default' as default answer in inputdlg.
I'm using an inputdlg prompt for user input and one of the options for another program I'm using is an input of the string 'defa...

6 years ago | 1 answer | 0

1

answer

Question


Try, Catch not working with system command.
In my program I have the following block of code, try !"C:\Program Files\MATLAB\R2016b\bin\matlab.exe" -r "foo" c...

6 years ago | 2 answers | 0

2

answers

Question


Can my program add code to itself?
I'd like to add a sort of learning ability to my program where it recognizes new name inputs and adds them to my current list as...

6 years ago | 1 answer | 0

1

answer

Answered
How to run a .m file in a new MATLAB instance?
I found the solution <https://www.mathworks.com/help/matlab/matlab_env/startup-options.html here> . !"C:\Program Files\MATL...

6 years ago | 0

| accepted

Question


How to run a .m file in a new MATLAB instance?
I'm running a script which calls several functions, and one of these only works in a new version of MATLAB (R2016b). I'm trying ...

6 years ago | 1 answer | 0

1

answer

Answered
Error when deriving class from mlreportgen.dom.Document super-class
Solved previously by staff member Sean de Wolski, "... the DOM API was released in R2014b so you'll need to upgrade to that rele...

6 years ago | 2

| accepted

Question


Error when deriving class from mlreportgen.dom.Document super-class
I'm on the R2010b version of MATLAB and I have the report generator and license (license test matlab_report_gen == 1). When I tr...

6 years ago | 1 answer | 0

1

answer