Community Profile

# Aaron Greenbaum

12 total contributions since 2016

View details...

Contributions in
View by

How to make num2str output with 4 digits left of decimal? eg 0-> 0000
you can format num2str using the following modifier to get the output I desired. num2str(125, '%04.f') -> '0125' without t...

nästan 3 år ago | 0

| accepted

Question

How to make num2str output with 4 digits left of decimal? eg 0-> 0000
I am trying to get num2str to fomat its output with 4 digits. For example num2str(0) -> '0000' or num2str(125)-> '0125' I kn...

nästan 3 år ago | 2 answers | 0

### 2

Question

Interpolating evenly spaced 2d matrix from 3 arrays
I have 3 161x1 arrays that should map to a 161 single points on a matrix, zprime array indicating the x location, yprime the y l...

ungefär 3 år ago | 2 answers | 0

### 2

How to find locations of intersection of 2 matrices?
I've never worked with 3-D data, but it seems like you might be doing something sorta similar to me. One way you can do it is...

mer än 3 år ago | 0

Question

Plotting Image arrays with Imagesc flips them vertically.
I have an image contained in an array with (1,1) being in the top left corner. When using imagesc the image flips vertically an...

mer än 3 år ago | 2 answers | 0

### 2

Question

How to vertically stretch an image according to a varying function
I have an image that has a changing magnification as I go from one side to the next. I would like to stretch the image to compe...

mer än 3 år ago | 0 answers | 0

### 0

Discarding certain centroids found using regionprops
Hello NS, I'm actually doing something that sounds pretty similar. It sounds like these unwanted centroids probably have smalle...

mer än 3 år ago | 0

Question

How can I make an algorithim to automate my Peakfinding program?
I have created a program to find centroids of peaks in a low noise image with small circular peaks evenly spaced in 11 rows and ...

mer än 3 år ago | 0 answers | 1

### 0

Question

Making a Gui with nested functions. My handle structure disappears after moving to different functions in the code. What happened?
I'm making a Gui without using Guide (I felt like it gave a lot of cloggy code) and I am having trouble keeping my handle struct...

mer än 3 år ago | 1 answer | 0

### 1

Question

Making a Gui with nested functions. My handle structure disappears after moving to different functions in the code.
I'm making a Gui without using Guide (I felt like it gave a lot of cloggy code) and I am having trouble keeping my handle struct...

mer än 3 år ago | 1 answer | 0

### 1

How do I ask for a workspace variable input in a running program?
You can use John's Uigetvar and putvar to do this, but it does use the dreaded Eval function (evalin). Overall it is better to ...

mer än 3 år ago | 1

Question

How do I ask for a workspace variable input in a running program?
I'd like to be able to set a variable in a code to a workspace variable that the user can choose. Assume I have some variable...

mer än 3 år ago | 4 answers | 0