Community Profile

photo

Kouichi C. Nakamura


Last seen: 27 days ago

MRC Brain Network Dynamics Unit/University of Oxford

36 total contributions since 2016

neuroscientist

Contact

Kouichi C. Nakamura's Badges

  • Personal Best Downloads Level 1
  • Revival Level 1
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
readtable cannot handle double quotation marks very well
I asked this to Mathworks and their answer was helpful: opts = detectImportOptions('file1.csv','NumHeaderLines',0,'Delimiter','...

2 months ago | 0

Question


readtable cannot handle double quotation marks very well
I have CSV files saved with LibreOffice with text flanked by double quotation marks (Format quoted field as text). When I tried...

2 months ago | 1 answer | 0

1

answer

Question


`fopen` cannot create a binary file on NAS
I've been using fopen on a NAS regularly without a problem, but somehow I encounter a problem today, and fopen keeps failing to ...

3 months ago | 0 answers | 0

0

answers

Answered
Why findobj cannot find a TexBox (annotation) object?
It turned out that TextBox txb is a child of an AnnotationPane or 'matlab.graphics.shape.internal.AnnotationPane' object. And Ha...

3 months ago | 0

Question


Why findobj cannot find a TexBox (annotation) object?
While HandleVisibility property of a TextBox object is 'on' by default, fig = figure txb = annotation('textbox',[0.5 0.5 0.5...

3 months ago | 2 answers | 0

2

answers

Question


Is there a way to save snapshots of figures in a LiveScript without keeping the figure objectss open in a for loop?
I have a plotting function in a for loop to go through data and produce a plot for each of them. Let's say the resultant figure ...

12 months ago | 1 answer | 0

1

answer

Answered
Remove 50 Hz noise
This looks like an answer. Remove the 60 Hz Hum from a Signal https://uk.mathworks.com/help/signal/ug/remove-the-60-hz-hum-fro...

1 year ago | 0

Question


Is Dunn-Sidak approach in multcompare identical to so-called Dunn's test?
These two articles recommend Dunn's test as non-parametric post hoc multiple comparison test following Kruskal-Wallis test. H...

1 year ago | 0 answers | 0

0

answers

Question


What are pros and cons of matfile vs memmapfile for partial loading of large data?
MATLAB offers ways to access a fraction of data without loading a whole file, and they can be really useful particularly when yo...

1 year ago | 0 answers | 0

0

answers

Question


Why fwrite is ~320x slower in the second interation and onwards when writing interleaved data?
I'd like to write a binary file, which should contain four vectors of integers in the same length in an interleaved fashion. Fo...

1 year ago | 2 answers | 0

2

answers

Answered
jupyter notebook vs live scripts
Both Jupyter Notebook and R Notebooks support markdown, but for back-compatibility reasons (I think) MATLAB's Live Editor uses M...

1 year ago | 1

Answered
How can I use Python pandas in MATLAB?
pyversion returns Python installation outside of Anaconda. >> pyversion version: '2.7' executable: 'C:\Python27\py...

2 years ago | 1

| accepted

Question


How can I use Python pandas in MATLAB?
Looking at this tutorial (https://uk.mathworks.com/help/matlab/matlab_external/call-user-defined-custom-module.html), it appears...

2 years ago | 1 answer | 0

1

answer

Question


Error "Array indices must be positive integers or logical values" for functioning code
I'm using ImageJ via MATLAB to modify a series of large TIFF files (3.8 GB) in a for loop. The loop works without error, so m...

2 years ago | 0 answers | 0

0

answers

Submitted


kouichi-c-nakamura/copytoImagePlus
copytoImagePlus allows you to turn a MATLAB array into ImagePlus Java object for ImageJ.

3 years ago | 2 downloads |

Submitted


kouichi-c-nakamura/ijmshow
a wrapper of IJM.show() to support opening a MATLAB array as 5D hyperstack in ImageJ

3 years ago | 1 download |

Question


ImageJ-MATLAB's `IJM.show` freezes when opening an image of 2GB size
I'm using ImageJ-MATLAB's |IJM.show(name)| to open an array of 2GB as an image in ImageJ, and everytime I end up crashing MATLAB...

3 years ago | 0 answers | 1

0

answers

Answered
Is there a workaround to conditionally import java class to import list in MATLAB?
This really is a cheating, but calling `func1` does not issue an error. Putting `import` statement into `eval` is one way. There...

3 years ago | 0

Answered
2018a Copy Paste not working Live Scripts
I'm also experiencing the same issue with exactly the same error message. And it's related to a folder in Temp, so SilentClea...

3 years ago | 0

Answered
Writing multidimensional TIFF files using imwrite
I recommend to use |ijmshow| in conjunction with Fiji's ImageJ-MATLAB. <https://github.com/kouichi-c-nakamura/ijmshow> ...

3 years ago | 2

Answered
Is there a workaround to conditionally import java class to import list in MATLAB?
Actually, I might have found a workaround. function testfun1() if 0 import ij.process.LUT ...

3 years ago | 0

| accepted

Question


Is there a workaround to conditionally import java class to import list in MATLAB?
I guess the answer is no, but I'd like to try. Is there a workaround to conditionally import java class to import list in MAT...

3 years ago | 2 answers | 0

2

answers

Answered
How can I save an image with four channels (or more) into an ImageJ-compatible TIFF format?
This is quite a tough issue. Here's a summary of what I've learned so far. *1. bfsave()* Bio-formats MATLAB plugin's |b...

3 years ago | 1

| accepted

Question


How can I save an image with four channels (or more) into an ImageJ-compatible TIFF format?
I have four channels image data and want to save it to |TIFF| format that is compatible with ImageJ/Fiji. Standard |imwrite| ...

3 years ago | 2 answers | 0

2

answers

Question


Why doesn't a parfor loop run properly with a custom object with saveobj and loadobj methods?
I'm having an issue with a |parfor| loop that uses custom objects. The loop runs properly if it was |for| loop instead of |parfo...

3 years ago | 2 answers | 1

2

answers

Question


How to detect the changes in figure size to invoke a callback function?
I noticed that design and layout of a figure can be compromised when the figure's size or dimension is changed. In most case...

3 years ago | 1 answer | 0

1

answer

Question


"/bin/bash: R: command not found" when trying to run R from MATLAB (mac)
I'm trying to call R from MATLAB (R2016b/R2017a prerelease) on macOS (10.12 Siera). I've installed R and on Terminal.app, com...

4 years ago | 1 answer | 0

1

answer

Answered
A way to work around MATLAB's inability of put a local function into M-script
Actually, after trying out R2016b, which allows us to use local functions in scripts or Live scripts, I still think the alternat...

4 years ago | 0

Submitted


plotColors(colors) for visual inspection of MATLAB colors
plotColors(colors) allows you to see colors in fiugre

4 years ago | 3 downloads |

Thumbnail

Submitted


defaultPlotColors() to get or draw the 7 default colors used by plot() function
defaultPlotColors() allows you to get or draw the 7 default colors of plot() function since R2014b

4 years ago | 6 downloads |

Thumbnail

Load more