Question


Closing all figures except 2
I have a function that closes all figures except my main figure (GUI1) % Close figures fig1h = findall(0,'type','figure'...

1 year ago | 0 answers | 0

0

answers

Question


filling in between two curves with different x values
Hello. I have a plot plot(x,y,'r--','LineWidth', 2); that I want to display with boundaries such that: plot(x+5,...

1 year ago | 1 answer | 0

1

answer

Question


Finding the first occurance using interp1
Hello. I have some data (red curve) and I'm trying to find the X value at which Y = 0.2. <</matlabcentral/answers/uploaded_f...

1 year ago | 2 answers | 1

2

answers

Question


Accessing a function from GUI1 in GUI2
How can I call a function in GUI1 called Autoscaleimage from GUI2? (Created by GUIDE). function [high,low]=Autoscal...

1 year ago | 1 answer | 0

1

answer

Question


Passing an image between GUIDE GUI's
Hi, I am trying to pass an image between GUIDE GUI's and have read the various articles - and thought it was straight forward. ...

1 year ago | 1 answer | 0

1

answer

Question


Keeping rows of a matrix between two indicies.
Hi. I want to remove all rows from a matrix below idx1 and above idx2. that is I only want to keep rows that are between idx1...

1 year ago | 2 answers | 0

2

answers

Question


Finding a point in data with FIND - accommodate both increasing and decreasing data
Hello, I have data that I want to find the point closest to a threshold (th=800). 1728.00 1755.00 1778.00 ...

1 year ago | 1 answer | 0

1

answer

Question


Stacking data sets into 1
I am trying to stack data. I have an matrix (ROI), that I obtain the rows from. Each row is my y data. The x data is just the ...

1 year ago | 1 answer | 0

1

answer

Question


Problem with Interp1
Hi, I cannot get interp1 to give me the correct answer. I have a simple, data set (see below) and all I want to do if use inter...

1 year ago | 1 answer | 0

1

answer

Question


Highlighting (make bold or underline) an item in a cellstring to be used in an annotation
Hi, I want to highlight by either underlining or making bold or different color only one cell string in the annotation: <</ma...

1 year ago | 1 answer | 0

1

answer

Question


Extracting sum of intensity values at various locations with various diameters
Hello. I have an image (grayscale) of spots, that have a spread of intensities and sizes. <</matlabcentral/answers/uploaded...

2 years ago | 1 answer | 0

1

answer

Question


Using current points instead of ginput to get locations on axes
Hi. I am currently using ginput to select two points on an image to then draw a line. The problem is that my image is mainly bla...

2 years ago | 1 answer | 0

1

answer

Question


RegionProps Major / Minor axis determination Problem
Hi, I am getting a strange result using regionprops. I have an image that I have the locations of the centroids (x1,y2) and my a...

2 years ago | 2 answers | 0

2

answers

Question


Various inputs and outputs in functions
Hi. I have several techniques to find spots on an image and rather than have say 5 different functions I want to create one and...

2 years ago | 2 answers | 0

2

answers

Question


Figure identity Question with Loops
Hi, I am creating a figure on each pass in a loop. On this figure I do several plots (20 of them) but always plot to figure(1...

2 years ago | 2 answers | 0

2

answers

Question


max value of poynomial surface fit
I'm trying to fit a 2D surface and extract the max value from the fit. The fit seems to be working: x=[1 2 3 1 2 3 1 2 3]'...

2 years ago | 2 answers | 0

2

answers

Question


Programatically getting contents from an edit box.
sorry to raise another thread, I had previously closed with an accepted answer, but this was by mistake. I have tried all sugge...

2 years ago | 0 answers | 0

0

answers

Question


Horizontally concatenating two column vectors with a comma
Hi, I have an array called Data: Data= 1.0e+03 * 1.7583 1.4163 1.7493 0.5127 0.1946 1.4305...

2 years ago | 2 answers | 0

2

answers

Question


Saving a uitable contents for any number of columns.
I have the following code to save the contents of a uitable but for a fixed number of columns. How can I make it generic so it w...

2 years ago | 1 answer | 0

1

answer

Answered
Deleting a rectangle created in one function from another function
hl = findall(handles.axes1, 'type', 'rectangle')

2 years ago | 0

| accepted

Question


Deleting a rectangle created in one function from another function
If I create a rectangle on an image from one function via: function1(handles) axes(handles.axes1); hr=rectangle('Posi...

2 years ago | 1 answer | 0

1

answer

Question


Problem with imrect and position vector returned.
Something very strange is happening. Im using imrect to get a user defined ROI from an image (taken from an axes on a GUIDE GUI...

2 years ago | 2 answers | 0

2

answers

Question


Saving a stack of images
Hi. I have a set of tiff images in an array (expressed as an array of double). I want to save as a stack of images. I have t...

2 years ago | 1 answer | 0

1

answer

Question


ButtonDownFcn question - different actions on different axes (using GUIDE)
Hi. I am using a mouse down call back to plot a linescan on an image at the mouse location. This all works fine. My issue is...

2 years ago | 0 answers | 0

0

answers

Question


Programatically (i.e. not using guide) accessing an edit box in another function
hi. I have create a figure and want to manually create a button and edit box on it too %Add push button and edit boxes to ...

2 years ago | 1 answer | 0

1

answer

Question


Displaying binary data in a uitable
How do I show the binary values in a uitable. This was my attempt: IM=getimage(handles.axes4); %Image data in 16 bit...

2 years ago | 1 answer | 0

1

answer

Question


Passing the listbox name to a function
Hi, I have a function that updates the files in a directory into a listbox: % Refresh list Box fname=get(handles.tex...

2 years ago | 1 answer | 0

1

answer

Question


Changing the histogram colour from within another function
Hi, I have a histogram function "myHistogram" that I want to be able to change the colour of the bars from another function....

2 years ago | 0 answers | 0

0

answers

Answered
Averaging of "similar data" in vector
array = x'; sortedArray = sort(array); nPerGroup = diff(find([1 (diff(sortedArray) > threshold) 1])); groupArray = ma...

2 years ago | 0

Question


Averaging of "similar data" in vector
Hi. I have a vector x as below. There are clearly "groups" of data. I want to find the average of each group This was my at...

2 years ago | 2 answers | 0

2

answers

Load more