Community Profile

Caleb


34 total contributions since 2012

Contact

Contributions in
View by

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

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

2 months ago | 1 Answers | 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 months ago | 1 Answers | 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...

3 years ago | 1 Answers | 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...

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

3 years ago | 1 Answers | 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...

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

3 years ago | 1 Answers | 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...

3 years ago | 1 Answers | 0

1

answer

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

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

3 years ago | 1 Answers | 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...

3 years ago | 1 Answers | 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...

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

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

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 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...

4 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?

4 years ago | 4 Answers | 0

4

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

4 years ago | 2 Answers | 1

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

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

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 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...

4 years ago | 1 Answers | 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...

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

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

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

4 years ago | 2 Answers | 0

2

answers

Question


Placing and Editing an Image within a GUI using GUIDE.
How do you place an image within a pre-defined border on a GUI? I set an axes down hoping to put the image inside, but that d...

4 years ago | 1 Answers | 0

1

answer

Load more