Community Profile

photo

William


Attivo dal 2014

Followers: 0   Following: 0

Contatto

Statistiche

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

Visualizza badge

Feeds

Visto da

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

oltre 8 anni fa | 0

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

oltre 8 anni fa | 0

Risposto
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)

oltre 8 anni fa | 0

| accettato

Domanda


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

quasi 9 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

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

quasi 9 anni fa | 0

| accettato

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

quasi 9 anni fa | 0

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

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

circa 9 anni fa | 0

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 3 risposte | 0

3

risposte

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

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

oltre 9 anni fa | 0

| accettato

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta