Community Profile

photo

Kouichi


MRC Brain Network Dynamics Unit/University of Oxford

28 total contributions since 2016

neuroscientist

Contact

Kouichi's Badges

  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

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

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

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

5 months ago | 0

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

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

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

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

1 year ago | 1 download |

Submitted


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

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

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

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

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

1 year ago | 0

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

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

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

1 year ago | 0

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

1 year ago | 1 answer | 0

1

answer

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

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

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

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

3 years ago | 0

Submitted


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

3 years ago | 2 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

3 years ago | 2 downloads |

Thumbnail

Submitted


ribboncoloredZ.m
ribboncoloredZ() is a wrapper of built-in ribbon() with coloring ribbons according to Z values

3 years ago | 4 downloads |

Thumbnail

Question


Help to solve a regexp problem
I'm trying to capture comment block in a string (char array). Regular expression '%.*(\n|$)' captures string from % to the end o...

3 years ago | 1 answer | 0

1

answer

Question


A way to work around MATLAB's inability of put a local function into M-script
I have been wondering why we are not allowed to put a local function in a script file. According to related threads below, it se...

3 years ago | 3 answers | 1

3

answers

Question


rmdir frequently fails with the 'MATLAB:RMDIR:SomeDirectoriesNotRemoved' error
I'm using matlab.unittest.fixtures for unit testing with matlab.unittest.TestCase. The operation involves file conversions, so I...

3 years ago | 2 answers | 0

2

answers

Question


cell2table behaviour on numerical arrays of different sizes
This isn't actually a question. Rather, this is a feature request. In the documentation of <http://mathworks.com/help/matlab/...

3 years ago | 0 answers | 0

0

answers

Answered
Why does MATLAB get stuck in the "Initializing" or "Busy" state or take a long time to start?
I had been using MATLAB with network licence. In my Mac, the license file *xxxx.lic* is stored in *Applications/MATLAB_R2015b.ap...

3 years ago | 4