photo

William


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
3>2>1 returns logical 0?
I think the compiler probably solves this: (3>2)>1 ans = 0 i.e 1>1= 0

9 years ago | 0

Answered
How can i create N copies of a vector based on nonzero values in that vector?
not elegant but: Original_Vector=[1 0 5 0 3]; Copy_1=Original_Vector; Copy_1(3)=0; Copy_1(5)=0; etc..

9 years ago | 0

Answered
Removing /eliminating bottom rows of a matrix
You named both matrices imat here. For 8x8 matrix named mat, for the first 5 columns and rows i.e. 5x5: mat(1:5,1:5)

9 years ago | 0

| accepted

Question


Rearranging filenames with extension .number (Ordering)
I've got batches of data that end in MRDC.number (MRA slices e.g. i3078011.MRDC.205) and I want to order them by filename extens...

9 years ago | 3 answers | 0

3

answers

Question


Savitsky-Golay Filter Problem - Smoothing 3D line
I wanted to smooth a 3d line using the Savitzky-Golay filter, but for this example is seems to not work properly. Any ideas why,...

9 years ago | 1 answer | 0

1

answer

Answered
Brushing a 3D isosurface
Brush it in plot3 and then isosurface plot

9 years ago | 0

| accepted

Answered
Matlab dialog boxes control
can't you write a code inside the exe file that cancels the rest of the code if an incorrect input is recorded? Then you won'...

9 years ago | 0

Question


Brushing a 3D isosurface
Is it possible to manually brush a 3D isosurface plot? I've attached the data, which you apply this function to plot it: ...

9 years ago | 1 answer | 0

1

answer

Question


Using GUIDE - Callback to set of equations through multiple Objects
I've developed a GUI in GUIDE that at various points along a data analysis I need to access a set of equations [a set of calcula...

9 years ago | 1 answer | 0

1

answer

Answered
Plotting colums from matrix
If your data array is like...... data(row,column) a = data(:,7:10) b = data(:,12) hold on plot(a) plot(b) ...

9 years ago | 0

Question


Storing varying sized arrays in a single matrix
I want to store multiple different sized arrays from values 0-1 in a single matrix. # [0 , 1] # [0 , 0.5, 1] # [0 , 0.25, ...

9 years ago | 1 answer | 0

1

answer

Question


3D Fit of Centreline
I've got a 3D data set (shown below) and I want to fit it with a line, the points of this line fit need to be equidistant apart....

9 years ago | 2 answers | 0

2

answers

Question


specifing a colorbar parent/figure
How are you supposed to set the figure to which a colorbar is associated? At the moment, when I introduce a colorbar it automati...

9 years ago | 1 answer | 0

1

answer

Question


Find 3d branch points - Remove smaller branches
Hello all, I want to *remove small branches* from this skeleton of a vessel, and to be left with just the main binary centerl...

9 years ago | 1 answer | 1

1

answer

Question


Fill the interior of a cylinder surface - SURF - generated by parametric equations
I've generated a cylinder using the parametric equations: u = linspace(0,2*pi,50); v = linspace(0,2*pi,50); [u,v]...

9 years ago | 1 answer | 0

1

answer

Question


Toolbar Guide GUI Editor - Tool Creation - Brush
How can I include a brush tool onto my GUI? This is as far as I get function uitoggletool_ClickedCallback(hObject, eventdat...

9 years ago | 2 answers | 0

2

answers

Question


Store NaN and remove in for loop
*Essentially, I have two arrays of the same size, one contains some NaNs and I want to remove the corresponding points in the se...

10 years ago | 1 answer | 0

1

answer

Question


Summation equations in matlab
How can I write this equation into Matlab? <</matlabcentral/answers/uploaded_files/23331/equation.png>> Is it equivalent t...

10 years ago | 3 answers | 0

3

answers

Answered
Centreline fitting in 3d (3D line fitting)
Super, thanks so much

10 years ago | 0

Answered
volume enclosed by isosurface
Cleaned up image and counted the data points which represent voxels (of known value)..... easy

10 years ago | 0

| accepted

Answered
Simulate circular sound using earphones
Check out this toolbox http://uk.mathworks.com/matlabcentral/fileexchange/19873-simple-audio-editor

10 years ago | 0

| accepted

Question


Centreline fitting in 3d (3D line fitting)
Hello everyone, I've got a *centreline data set* of a vessel and I want to connect the points to get an estimation of the *le...

10 years ago | 2 answers | 0

2

answers

Question


volume enclosed by isosurface
How can I calculate the volume enclosed by an isosurface, in this case my isosufaces are generally irregular cylinders. I've ...

10 years ago | 2 answers | 0

2

answers

Answered
RELATED to average of complex numbers
Separate into real and imaginary component arrays, divide, then recombine: av_real = (real_a + real_b + real_c) / 3; av_i...

10 years ago | 0

| accepted

Question


colormap/caxis edit roipoly
I would really appreciate help on this one, Using _roipoly_ to isolate data but when the function displays the initial image ...

10 years ago | 2 answers | 0

2

answers

Question


Nested for loop fit with function
I understand for loops are not ideal for Matlab, but not sure how to avoid using them. In this case I have a matrix 'TE_ROI' tha...

10 years ago | 1 answer | 0

1

answer

Question


3-term exponential fit
Hi, I want to fit a 3-term exponential function i.e. y = a*exp(-b*x) + c*exp(-d*x) + e*exp(-f*x) to get coefficients b...

10 years ago | 3 answers | 0

3

answers

Question


Elemental matrix multiplication [NxN] and [1xn] into [NxNxn]
Hi, I want to multiply every element in *A*[NxN] by every value in *B*[1xn] to get *C*[NxNxn] Current code: for i = 1...

10 years ago | 1 answer | 0

1

answer