Community Profile

photo

Aaron Greenbaum


12 total contributions since 2016

Aaron Greenbaum's Badges

  • First Review
  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

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

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

2 years ago | 2 answers | 0

2

answers

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

3 years ago | 2 answers | 0

2

answers

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

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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 0 answers | 0

0

answers

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

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

3 years ago | 0 answers | 1

0

answers

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

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

3 years ago | 4 answers | 0

4

answers