photo

Adam Hicks


Last seen: circa 4 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

All
  • Solver
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 6 anni fa | 0 risposte | 0

0

risposte

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 0

| accettato

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

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

oltre 6 anni fa | 2

| accettato

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta