Community Profile

photo

Caleb


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 4

View badges

Feeds

View by

Question


Looping through bytes of a variable
I'm doing a genetic algorithm with real parameter values. Say that I have two candidate solutions: x(1) = 1.2345678 x(2)...

7 years ago | 2 answers | 0

2

answers

Question


Getting error in MEX file execution
I'm doing parameter tuning for an equation of state using the genetic algorithm function (ga). When I run the equation of state ...

7 years ago | 0 answers | 0

0

answers

Question


Make functions unreadable to end-user
I have a complete program to perform phase equilibrium calculations at fixed temperature and pressure using an equation of state...

7 years ago | 1 answer | 0

1

answer

Question


Calculating mixed partial derivatives of a function A(x,y)
I have a script in MATLAB to calculate the value of a function A. I have also programmed the analytic derivatives of A with resp...

8 years ago | 1 answer | 0

1

answer

Question


Collecting user input to collect data from an EXCEL file
I have an EXCEL file with chemical data in it (if you're wondering, critical pressures, critical temperatures, and acentric fact...

10 years ago | 1 answer | 0

1

answer

Question


Plotting with two y-axes in a GUIDE GUI
I have a simple GUI created in GUIDE with two axes (axes1, axes2) and a pushbutton (pushbutton_plot). The callback for pushbu...

10 years ago | 0 answers | 0

0

answers

Question


Displaying Files using a Listbox in a GUIDE GUI.
I have written a GUI that pulls data from a file and makes plots. Currently, I have coded a pushbutton to retrieve the files, bu...

10 years ago | 1 answer | 1

1

answer

Question


Making a counter out of cycling data for a quasi-realtime plot
Consider the following dummy data from testing a battery: %% Data t = 1:1:100; t = t'; shape = [1 2 3 4 5 5 4 3 2...

10 years ago | 0 answers | 0

0

answers

Question


Pause(n) vs timer. Which is better?
So I'm trying to show a plot of time dependent data as if it is taken in real time. The issue with using the pause(n) function ...

10 years ago | 1 answer | 2

1

answer

Question


Plot in real time
I want to take a 2-dimensional vector and plot it, but I want to show the line being drawn as if the data is being gathered in r...

10 years ago | 2 answers | 2

2

answers

Question


Plotting in semi-realtime
I'm putting together a GUI containing multiple time-dependent plots. I want to take data that has already been collected and all...

10 years ago | 2 answers | 0

2

answers

Question


Creating Menus using GUIDE
I've created a GUI, and I want to create a Help menu that, when activated, brings up a new window that has static text. However,...

11 years ago | 1 answer | 0

1

answer

Question


fprintf function for structuring element
I'm working on a GUI that outputs user commands to a script file, and I've run into an issue programming the structuring element...

11 years ago | 1 answer | 0

1

answer

Question


Can a GUI track commands and output them in a report?
I've made a GUI environment for image processing. I want to be able to generate reports from this GUI, and I want to include the...

11 years ago | 2 answers | 1

2

answers

Question


In a binary image, can I selectively remove one of the blobs interactively?
As the title states, I have a binary image with a number of blobs. Can I interactively remove one or more of the blobs without t...

11 years ago | 2 answers | 0

2

answers

Question


Cropping, segmenting and recombining images
I want to crop an image two to three times, segment each image separately and then recombine them in the manner of the original ...

11 years ago | 1 answer | 0

1

answer

Question


I want to plot a line over a bar graph that shows a smooth distribution and display the mean, median, and range of the data.
First, how do I overlay information on a plot. I want to give the mean, median and range of a distribution inside the axes figur...

11 years ago | 1 answer | 0

1

answer

Question


Exporting an Image from a GUI to the Command Line
As the question states, I'm trying to allow the user to export an image from a GUI onto the command line. My GUI allows the user...

11 years ago | 1 answer | 0

1

answer

Question


Can I force a radio button group to initialize with a certain button selected?
As the question says, I want a particular button selected every time the radio button group is initialized. Can I "set()" this s...

11 years ago | 3 answers | 0

3

answers

Question


Round to nearest odd integer
Does MATLAB have a function to round numbers to the nearest odd integer?

11 years ago | 5 answers | 1

5

answers

Question


Forcing slider values to round to a valid number
For many of the functions that I've programmed to be adjustable using sliders, I have to use integer values. It's easy to progra...

11 years ago | 2 answers | 2

2

answers

Question


Overlaying a partially transparent binary over an RGB image?
As the title suggests, I'm trying to overlay a binary mask over an RGB image to verify segmentation. How do I make the binary ma...

11 years ago | 2 answers | 0

2

answers

Question


Saving a prior instance of an image in a GUI
I'm wanting to save certain instances of an image throughout image processing to display later in a figure to show the progressi...

11 years ago | 1 answer | 0

1

answer

Question


Calling Functions Files within a Script File
I'm writing a GUI script and I'm trying to streamline the code. To do this, I'm creating functions that perform specific process...

11 years ago | 1 answer | 0

1

answer

Question


Creating a Button Group in Guide
I inserted a button group onto my GUI in Guide, but the functions controlling it did not show up in the Guide editor. I tried to...

11 years ago | 1 answer | 0

1

answer

Question


Image not updating after processing parameters are changed.
My code looks like this... % --- Executes on selection change in popupmenu_contrast. function popupmenu_cont...

11 years ago | 1 answer | 0

1

answer

Question


Programming Sliders Using Guide
I'm trying to program sliders using guide, and I'm not sure how this will work. First off, I can't get the slider to become v...

11 years ago | 2 answers | 0

2

answers

Answered
Trying to Program a Switch-Case Expression for a Pop-up Menu in a MATLAB GUI
So when I'm adding slider capability to the code, how do I call that within the program. Would it be: handles.image2 = hand...

12 years ago | 0

Question


Trying to Program a Switch-Case Expression for a Pop-up Menu in a MATLAB GUI
Can someone tell me what's wrong with my syntax or any other errors you spot? % --- Executes on selection change in popup...

12 years ago | 3 answers | 0

3

answers

Question


How do I allow the user to iterate an expression within a GUI without permanently applying the processing code?
As stated above, I want to allow the user to iterate within a GUI to find the optimal code, but I want them to be able to desele...

12 years ago | 2 answers | 0

2

answers

Load more