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

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

8 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]'...

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

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

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

9 years ago | 1 answer | 0

1

answer

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

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

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

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

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

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

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

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

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

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

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

9 years ago | 2 answers | 0

2

answers

Question


Vectorization instead of for loop
Hi. I have an image with about 5000 objects on that I have the centroid (xf,yf) locations for. My aim is to take each one and...

9 years ago | 1 answer | 0

1

answer

Question


Swapping from hist to histogram
Hi, under the recommendation of Steven Lord, I am trying to update my code and not use hist as the histogram function and instea...

9 years ago | 1 answer | 0

1

answer

Question


Bar Chart Log Axis
I have data that I want to create a barchart from. I require the x-axis to be log10. [counts,xb]=hist(data(:,3),n...

9 years ago | 1 answer | 0

1

answer

Question


gca when using subplots
Hi. I have created a barchart on a figure and wanting to change the number of bins by adding a popupmenu to the figure. I ass...

9 years ago | 2 answers | 1

2

answers

Question


Extract Data from text File
Hi, can some one give me an indication to how to get the 2nd & 3rd column from the data at the end of this text file. There wil...

9 years ago | 1 answer | 1

1

answer

Question


Creating an arbitrary number of displaced Gaussian
Hi, I have created a set of 3 gaussians as follows: %add 3 gaussians together a=100;a1=75;a2=123 b=10;b1=25;b2=40 ...

9 years ago | 2 answers | 0

2

answers

Question


Finding values from Cubicinterp fit
If I have performed a cubic interp to some data, x = linspace(1,maxFwhm+1,maxFwhm+1)' f=fit(x,y,'cubicinterp') hold o...

9 years ago | 2 answers | 0

2

answers

Question


Using repmat instead of subplot - adding grid lines and points
Hi, Im trying to remove the gaps between subplots and have read the following way to do it using repmat that works well. A=...

9 years ago | 1 answer | 0

1

answer

Question


Blockproc with more than one output
Hi, I have been using the blockproc syntax to enable splitting an image up into smaller regions and performing a measurement on ...

9 years ago | 1 answer | 0

1

answer

Question


Remove artefact when dilating Image
Hi. I have a hexagonal grid that I have managed to locate the location of the maximum in each feature (with the kind help of Wal...

9 years ago | 2 answers | 0

2

answers

Question


Remove duplicate locations and replace by a single one
Hi. I am trying to locate the 6 dots in my frequency domain image (its the FFT of a hexagonal array of spots) <</matlabcen...

9 years ago | 3 answers | 0

3

answers

Question


Fitting a uitable to a subplot
Hi. I want to programatically add a uitable to a subplot position (without using guide). Whilst I have been able to do this, Im...

9 years ago | 2 answers | 0

2

answers

Question


Rescale 2nd axis using yyaxis (Right Axis)
hi, I have a plot using the new yyaxis function in R2016b. I want to change the scale on the Right Axis. after searching goo...

9 years ago | 1 answer | 1

1

answer

Load more