Frage


Best way to share code within laboratory
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...

mehr als 11 Jahre vor | 4 Antworten | 2

4

Antworten

Frage


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

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why does reversing an axis direction change shading properties?
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...

mehr als 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Image Mask to NURBS
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...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Non-linear piecewise fit using fittype() and fit().
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...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 11 Jahre vor | 1 Antwort | 2

1

Antwort

Beantwortet
Repeat element of a vector n times without loop.
Thanks guys, these all work perfectly!

mehr als 11 Jahre vor | 0

Frage


Repeat element of a vector n times without loop.
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 ...

mehr als 11 Jahre vor | 7 Antworten | 1

7

Antworten

Frage


improfile() through 3D image?
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...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Setting LineWidth when exporting a figure using 'print'
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...

fast 12 Jahre vor | 0 Antworten | 5

0

Antworten