# Kouichi C. Nakamura

### MRC Brain Network Dynamics Unit/University of Oxford

neuroscientist

**Statistics**

RANK**1 381**

of 277 819

REPUTATION**40**

CONTRIBUTIONS

**21** Questions

**14** Answers

ANSWER ACCEPTANCE **
52.38%
**

VOTES RECEIVED**22**

RANK**9 125** of 18 797

REPUTATION**71**

AVERAGE RATING**5.00**

CONTRIBUTIONS**5** Files

DOWNLOADS **12**

ALL TIME DOWNLOADS**662**

RANK

of 129 008

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

"opengl software" is not supported in command line?

I've been using the same code on the same Windows 10 PC over and over. but since one day, MATLAB started issueing an error when ...

nästan 2 år ago | 1 answer | 1

### 1

answerhow do i display text in command window matlab LiveScript?

As Sarah T wrote, input can show text in Command Window, but it prompts user input. Sometimes you don't want that. If your purp...

ungefär 2 år ago | 0

Draw stack order for yyaxis

As DJ pointed out, the link Plot line-chart on the left axis uper the bar-chart on the right axis, is very useful. Just to make...

ungefär 2 år ago | 3

Question

Could not save custom class objects in a particular combination but why?

I want to use save function to save variables as a cache file cachefile. When I do so, I receive this error message: save(ca...

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

### 0

answersreadtable cannot handle double quotation marks very well

I asked this to Mathworks and their answer was helpful: opts = detectImportOptions('file1.csv','NumHeaderLines',0,'Delimiter','...

mer än 2 år 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...

mer än 2 år ago | 1 answer | 0

### 1

answerQuestion

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

mer än 2 år ago | 0 answers | 0

### 0

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

mer än 2 år 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...

mer än 2 år ago | 2 answers | 0

### 2

answersQuestion

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

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

### 1

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

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

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

### 0

answersQuestion

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

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

### 0

answersQuestion

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

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

### 2

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

nästan 4 år ago | 3

How can I use Python pandas in MATLAB?

pyversion returns Python installation outside of Anaconda. >> pyversion version: '2.7' executable: 'C:\Python27\py...

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

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

### 2

answersQuestion

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

mer än 4 år ago | 0 answers | 0

### 0

answersSubmitted

kouichi-c-nakamura/copytoImagePlus

copytoImagePlus allows you to turn a MATLAB array into ImagePlus Java object for ImageJ.

ungefär 5 år ago | 1 download |

Submitted

kouichi-c-nakamura/ijmshow

a wrapper of IJM.show() to support opening a MATLAB array as 5D hyperstack in ImageJ

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

ungefär 5 år ago | 0 answers | 1

### 0

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

ungefär 5 år ago | 0

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

ungefär 5 år ago | 0

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

ungefär 5 år ago | 2

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

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

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

### 2

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

ungefär 5 år ago | 2

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

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

### 2

answersQuestion

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

mer än 5 år ago | 2 answers | 1

### 2

answersQuestion

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

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