photo

Daniel Bridges


Gunma University

Active since 2015

Followers: 0   Following: 0

Message

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

  • First Review
  • Thankful Level 4
  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

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

6 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 4 answers | 0

4

answers

Question


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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 0

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

7 years ago | 0

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

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

7 years ago | 1 answer | 0

1

answer

Answered
Why 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'...

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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 0 answers | 0

0

answers

Question


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

7 years ago | 1 answer | 1

1

answer

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

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 0

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

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

7 years ago | 1 answer | 0

1

answer

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

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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 3 answers | 1

3

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 0 answers | 0

0

answers

Question


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

7 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


Why does MATLAB not allow this assignment with the + operator?
Please see these results: K>> [EndX,EndY,EndZ] = size(planneddose) EndX = 135 EndY = ...

7 years ago | 3 answers | 1

3

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


Why does dir .name output have two answers but numel reports only one element?
>> NoPtfolders.name ans = '1' ans = '2' >> numel(NoPtfolders.name) ans = ...

7 years ago | 1 answer | 0

1

answer

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

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

7 years ago | 2 answers | 0

2

answers

Load more