Community Profile

Contact

Top 5% contributor

45 downloads

6 months ago

Thanks! Both of these are fine solutions!

1

Answered 2 years ago

I work in an academic research laboratory. Many of the PIs and RAs within the lab write a fair amount of Matlab code. I am tryin...

4 Answers

2

Asked 2 years ago

Say I have a column vector x=[a;b;c]. I want to repeat each element n times to make a long length(x)*n vector. For example, for ...

0

I'm making a grouped bar plot (i.e., a bar plot with multiple bars in each category). I would like to add labels at the top of e...

3 Answers

Asked 11 months ago

Hello, I need to create an orthonormal basis from a given input vector. For example, say I have the vector u=[a b c]; In my n...

I've got a nx1 cell array of strings that correspond to spatial coordinates. Here's an example where n=4, '122.8233,216.1323...

I am working on an interactive GUI. Part of the GUI contains an axis which is used render 3D objects. I need to use a left-hande...

2 Answers

Say I've got n scattered data points defined in spherical coordinates, n=36; az=random('unif',0,2*pi,n,1); ele=random...

1 Answers

I'm trying to use the text() function to display a checkmark in a figure. I can't seem to figure it out. I've basically tried: ...

I have a GUI with multiple panels and I'd like to change the color used for the panel outline. From the help menu, it seems like...

Asked 9 months ago

Hello, This question is for someone with experience in displaying medical images (i.e., DICOMS). Many DICOM viewers perfor...

I am using the _lsqnonlin_ optimization function to minimize an objective function with ~50 variables. I'm also making a movie (...

Is it possible to use the fit() function to fit a model with 3 independent variables and many parameters (coefficients)? Reading...

Hello, I'm trying to fit some data to a rather complicated non-linear model: y=(1-(x/R)^2)^n where x is the independent va...

Hello, I have a 3D image set (i.e., a stack of CT images), I would like to get a line profile through this 3D image set simil...

Asked 3 years ago

I am trying to export a figure using the print command. The figure has several line plots on it. I have set the LineWidth proper...

0 Answers

I have a matrix of data I need to write out to a binary file. Each column needs to be written out with a different precision, bu...

Asked 10 months ago

Given a point in 3D space, m = (x,y,z), I would like to generate a series of gaussian random points with a mean position of m an...

Hello, I'm trying to create texture images that have given Haralick texture features. This differs from the usual goal of measur...

I have some function, f(x) that I want to fit to some measured data. Say for example that f(x)=a*x^2+b*x+c. Is there a way to co...

*Context:* I'm about to start making a GUI in which a 3D medical image data-set will be displayed. Essentially the user will be ...

Asked 1 year ago

Is it possible to access the icon images of the various buttons and uicontrols found throughout matlab? Specifically, I am w...

I have two sets of measurements that I'm comparing with each other; x1, x2. The data are paired such that x1(n) corresponds to x...

I've got a 3D mask corresponding to an object in a volumetric image (e.g., a stack of CT slices). I would like to take this mask...

Thanks guys, these all work perfectly!