# Daniel Bridges

### Gunma University

I am currently a PhD student at Gunma University working in carbon ion radiation therapy. My current research topics include dose verification and operational/energy efficiency.

**Statistics**

RANK**1,694**

of 257,609

REPUTATION**27**

CONTRIBUTIONS

**50** Questions

**18** Answers

ANSWER ACCEPTANCE **
56.0%
**

VOTES RECEIVED**13**

RANK

of 17,749

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 109,891

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How to search a word both uppercase and lowercase given a specified string?

<https://www.mimsoftware.com/radiationoncology/maestro MIM Maestro> puts volume data inside the table variable names: Rectu...

4 years ago | 2 answers | 0

### 2

answersQuestion

How to convert string to number and process underscores? (e.g. '57_77_' to 57.77)

How do you convert a string with underscores to a number, namely |'57_77_'| to |57.77|? What commands would you use? I am loo...

4 years ago | 4 answers | 0

### 4

answersQuestion

How to extract data from table variable names?

<https://www.mimsoftware.com/radiationoncology/maestro MIM Maestro> puts volume data inside the table variable names: Rectu...

4 years ago | 2 answers | 0

### 2

answersHow to extract data from table variable names?

This method works, but I suspect there is a more elegant solution. % get list of variable names opts = detectImportOptio...

4 years ago | 0

How to convert string to number and process underscores? (e.g. '57_77_' to 57.77)

Here is one method that works, but I am not happy using a cell wrapper just to use Walter Roberson's |cellfun|; I'm sure there's...

4 years ago | 0

How to scale vertical axis without erasing boxplot horizontal axis?

|<https://www.mathworks.com/help/matlab/ref/ylim.html ylim>([0 6])| after the |boxplot| command allows one to edit the vertical ...

4 years ago | 0

| accepted

Question

How to scale vertical axis without erasing boxplot horizontal axis?

I want the same vertical axis scale so the two |subplot| can be directly compared more easily. |axis([-Inf Inf 0 6])| fails to p...

4 years ago | 1 answer | 0

### 1

answerWhy doesn't hold work with histogram and plot? How do I plot fit distribution on top of histogram?

The following code results in scaling the probability distribution. x = [-20:.1:20]; f = figure; p = uipanel('Parent'...

4 years ago | 0

Question

Why doesn't hold work with histogram and plot? How do I plot fit distribution on top of histogram?

The following code fails to plot the probability function on top of the histogram, producing only the figure below. It appears |...

4 years ago | 1 answer | 0

### 1

answerQuestion

How to extract table data using function variable?

I have a function pulling data from tables stored in a cell array, and it depends on which column's data I want. In this case, t...

4 years ago | 1 answer | 0

### 1

answerQuestion

How does MATLAB determine confidence intervals for distribution parameters?

<https://www.mathworks.com/help/stats/fitdist.html#btu54gt-1 |fitdist| returns confidence intervals for the population distribut...

4 years ago | 0 answers | 0

### 0

answersQuestion

Why boxplot grouping variable plotted out of order?

Why is the grouping variable not plotted in the order I've listed it in my code? How do I make it plot sequentially? Please comp...

4 years ago | 1 answer | 1

### 1

answerHow to use multiple grouping variables in boxplot? Why box plot grouping variable 'not same length' error?

<https://stackoverflow.com/a/16268874/4997551 This StackOverflow answer> appears to contain the solution I'm seeking. This co...

4 years ago | 2

| accepted

Question

How to use multiple grouping variables in boxplot? Why box plot grouping variable 'not same length' error?

1. How do I use multiple grouping variables? 2. How do I resolve the borrowing incorrect error? Error message: >...

4 years ago | 2 answers | 0

### 2

answersFinding average value of multiple Y values for a single x value

Sounds to me that what you want to do is have vectors of data |x| and |y|, same length. Then -- sorry, talking off the top of...

4 years ago | 0

How to create a loop in which a number increments and

Have you tried searching and browsing the MathWorks documentation? It seems like <https://www.mathworks.com/help/matlab/ref/lins...

4 years ago | 0

| accepted

Question

How do I ensure random generates different samples each trial?

I fit data to a normal distribution and then sample from that distribution: %[...] normal.x = fitdist(InterfractionalMotio...

4 years ago | 1 answer | 0

### 1

answerconvert 16 bit to 32 bit

I use the following code for my DICOM dose files to be read by MIM Maestro: MaxUnsignedInteger = 65535; % cf. https://en.wi...

4 years ago | 0

| accepted

Question

Why does clicking Edit > Axis Properties cause the figure to vanish irrecoverably from display? (Windows 10, Surface Pro 4 + Surface Dock)

I was trying to <https://www.mathworks.com/help/matlab/creating_plots/change-tick-marks-and-tick-labels-of-graph-1.html edit tic...

4 years ago | 1 answer | 0

### 1

answerQuestion

Why does MATLAB freeze for minutes when I click 'publish' within Editor? (Windows 10)

In Ubuntu 16.04, from within the script editor window I would click 'Publish' and it would take ~7 seconds, a Figure window woul...

4 years ago | 1 answer | 0

### 1

answerQuestion

sprintf - Linux OK but Windows Warning: Escaped character '\.' is not valid. See 'doc sprintf' for supported special characters.

I was using the following code inside a |for| loop to loop through multiple data folders and specify the folder as basically 'ma...

4 years ago | 3 answers | 1

### 3

answersQuestion

How to write DICOM ReferringPhysicianName metadata?

In the RT Dose DICOM files exported from MIM there is the ReferringPhysicianName structure with FamilyName, MiddleName, and Give...

4 years ago | 1 answer | 0

### 1

answerQuestion

How to add slider bar and make 'slice' figure into a GUI to scroll the slice?

My question seems a repeat of <https://www.mathworks.com/matlabcentral/answers/129613-how-to-use-the-gui-slider-to-scroll-throug...

4 years ago | 0 answers | 0

### 0

answersQuestion

Why does ls add trailing space preventing output use as filename string?

Please consider the following error and resolution. What should I be doing differently? (Summary: |ls| is adding a trailing spac...

4 years ago | 2 answers | 0

### 2

answersQuestion

How do I find a folder with a specified string?

I think I need your help using <https://www.mathworks.com/help/matlab/ref/regexp.html |regexp|>: My goal is to find the RTPLAN D...

4 years ago | 1 answer | 0

### 1

answerQuestion

Why does MATLAB not allow this assignment with the + operator?

Please see these results: K>> [EndX,EndY,EndZ] = size(planneddose) EndX = 135 EndY = ...

4 years ago | 3 answers | 1

### 3

answersQuestion

Coding Practice: When to use a structure rather than separate variables?

If dealing with x,y,z coordinates and parameters for each Cartesian axis, is there any benefit to using a structure rather than ...

4 years ago | 1 answer | 0

### 1

answerQuestion

Why does dir .name output have two answers but numel reports only one element?

>> NoPtfolders.name ans = '1' ans = '2' >> numel(NoPtfolders.name) ans = ...

4 years ago | 1 answer | 0

### 1

answerHow do I parse and erase from a string while importing CSV with tableread?

The following code generates the table as desired. function data = ReadMIMDVH(filepath) opts = detectImportOptions(fil...

4 years ago | 0

| accepted

Question

How do I parse and erase from a string while importing CSV with tableread?

I have found <https://www.mathworks.com/help/matlab/ref/extractbefore.html |extractBefore|>, but how do I succinctly apply it to...

4 years ago | 2 answers | 0