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.

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

nästan 3 år ago | 2 answers | 0

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

nästan 3 år ago | 4 answers | 0

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

nästan 3 år ago | 2 answers | 0

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

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

nästan 3 år 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...

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

nästan 3 år 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 ...

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

nästan 3 år 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...

nästan 3 år ago | 1 answer | 0

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

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

nästan 3 år 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 |...

nästan 3 år ago | 1 answer | 0

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

nästan 3 år ago | 1 answer | 0

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

nästan 3 år ago | 0 answers | 0

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

ungefär 3 år ago | 1 answer | 1

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

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

ungefär 3 år 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: >...

ungefär 3 år ago | 2 answers | 0

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

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

ungefär 3 år 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...

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

ungefär 3 år 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...

ungefär 3 år ago | 1 answer | 0

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

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

ungefär 3 år 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...

ungefär 3 år ago | 1 answer | 0

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

ungefär 3 år ago | 1 answer | 0

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

ungefär 3 år ago | 3 answers | 1

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

ungefär 3 år ago | 1 answer | 0

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

ungefär 3 år ago | 0 answers | 0

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

ungefär 3 år ago | 2 answers | 0

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

ungefär 3 år ago | 1 answer | 0

Question

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

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

ungefär 3 år ago | 3 answers | 1

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

ungefär 3 år ago | 1 answer | 0

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

ungefär 3 år ago | 1 answer | 0

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

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

ungefär 3 år 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...

ungefär 3 år ago | 2 answers | 0