Radiation physicist at Duke University Medical Center specializing in medical image processing and radiographic image quality. Other specialties include noise/dose reduction, image segmentation, and algorithm development.

Solved

How to subtract?

* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

2 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

2 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

2 years ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

2 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Question

How to use neural network to perform image segmentation?

I have a clinical need to perform lung segmentation on AP and PA chest radiographs. Using conventional segmentation techniques (...

2 years ago | 1 answer | 0

Submitted

nortonbeer(W,varargin)

NORTONBEER produces a one-dimensional Norton-Beer apodization filter

2 years ago | 1 download |

Question

Why does MATLAB resample display data for *some* large images and not others? Can this be turned off?

When displaying large images (i.e. images with dimension greater than the screen resolution) using IMSHOW, IMAGESC, and similar ...

3 years ago | 1 answer | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

3 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

3 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Submitted

Grayscale Canny Edge Detection

Performs Canny edge detection with grayscale magnitude and direction outputs

4 years ago | 5 downloads |

Submitted

lorentzfit(x,y,varargin)

LORENTZFIT fits a single- or multi-parameter Lorentzian function to data

4 years ago | 57 downloads |

Question

Can I run a "clear java" command but still keep a variable in the workspace?

Hi: I am trying to run "clear java" after temporarily modifying some files in the dynamic Java path. This also clears all var...

5 years ago | 2 answers | 0

Question

Use ImageJ to read DICOM header data

MATLAB's dicominfo function sometimes misreads DICOM header data. I'd like to automatically call ImageJ from the MATLAB command ...

5 years ago | 1 answer | 0

Submitted

dicomLUT

DICOMLUT applies an embedded lookup table to a DICOM image

6 years ago | 1 download |

Submitted

Center of Mass

CENTEROFMASS finds the center of mass of the N-dimensional input array

6 years ago | 14 downloads |

Submitted

Point cloud normal vector

NORMND computes the vector normal to points in an N-D point cloud

6 years ago | 6 downloads |

Submitted

Simpson's 1/3 and 3/8 rules

SIMPSON: Simpson's rule for quadratic and cubic numerical integration

8 years ago | 21 downloads |

Submitted

Stem and leaf plot

This is a simple utility for making stem and leaf plots output to the command window.

8 years ago | 11 downloads |

Submitted

R-square: The coefficient of determination

RSQUARE is a simple routine for computing R-square (coefficient of determination).

8 years ago | 31 downloads |

Submitted

OrthoView3D

MATLAB GUI for exploring 3D datasets through a sleek and simple interface (sample dataset included)

8 years ago | 2 downloads |