Community Profile

photo

Daigo


Last seen: 3ヶ月 前 2021 以来アクティブ

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

All
  • Indexing II Master
  • First Review
  • Matrix Manipulation II Master
  • Community Group Solver
  • Thankful Level 3
  • Commenter
  • Promoter
  • Solver

バッジを表示

Content Feed

表示方法

質問


Fastest way for page-wise computation - FOR vs ARRAYFUN vs PAGEFUN
I'd like to know the fastest way to deal with a 3D array in a page-wise way. Suppose I have the following data: rng(0); data...

3ヶ月 前 | 0 件の回答 | 0

0

回答

質問


Randomness is lost in parfor loop on GPU?
I have a code with a following structure: % my_code_seed#.m myoutputs1 = my_function1(myinputs1); seed = #; rng(seed); ...

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to use a code that uses FFTW in MATLAB?
I have a slow MATLAB code that consists of many helper functions. The bottleneck seems to be one helper function that heavily us...

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


GPU MEX not compatible with GPU with compute capability '3.0'?
Hi, I'm trying to set up the prerequisites for the GPU Coder. In the MATLAB Command Window, I entered: gpuEnvObj = coder.gpuEn...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


GPU Coder: compilation error
I am trying to create a MEX function from the following simple function: function G = ft2(g, delta) % Input % - g: ...

5ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Build error in GPU coder - nvcc fatal: Cannot find compiler 'cl.exe' in PATH
I'd like to create a MEX function from my MATLAB function that has an gpuArray input. I used the GPU Coder but I got an error wh...

5ヶ月 前 | 0 件の回答 | 0

0

回答

質問


Error in the integration result
Given the joint p.d.f.: for -\infty < x, y < \infty I'm trying to compute the expected value: by the following code: syms ...

6ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Swapped row and column output from ind2sub function?
I want to plot a matrix as an image and show a pixel value at corresponding point of an image. Here is a simple example. Im0 =...

6ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Error when saving a profile result - "Error using startsWith"
I simply want to save my profile result by the following code: p = profile("info"); profsave(p,"profiler1"); However, I got ...

6ヶ月 前 | 1 件の回答 | 0

1

回答

質問


I need help in configuring Git Credential Helper
I'm trying to setup Git Source Control based on this document but since I'm totally new to the Git, I'm a little be in a trouble...

6ヶ月 前 | 0 件の回答 | 0

0

回答

質問


How does this function work? - echo, assert ...
I found this solution in Cody but I have no idea what is going on. function ans = remove_from_cell_array(x,to_remove) ! echo ...

7ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
Why did my mat file corrupt? How can I recover it?
I've found the cause. The problem was in the cluster side, not in the code side. My home directory on the GPU cluster was almost...

7ヶ月 前 | 1

| 採用済み

質問


Why did my mat file corrupt? How can I recover it?
I saved a matrix variable as a mat file on a GPU cluster (Linux, MATLAB R2019, GPU: Tesla V100) and tried to load it in my local...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How is the 2D filter function used in this code?
In one of the cody answers (solution 712713), I found a following code: function B = hanlelize(A) F = flip(eye(111)); ...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Function findobj does not find an object (?)
I have a function to make a plot of two vectors t and y, and mark the minimum value of y as a red asterisk marker. function m ...

7ヶ月 前 | 2 件の回答 | 0

2

回答

回答済み
Why do I get a wrong plot?
I contacted the author of the paper. It turned out that the equation for the diffraction OTF has a typo. The correct one is ...

7ヶ月 前 | 0

| 採用済み

質問


Why is a regular expression used in this code?
I found a code to dump zero rows/columns in the southeast part of a given matrix: function b = ZeroDumping(a) regexp '' '(?...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to use a optimization toolbox in MATLAB Cody problem?
I'm trying to solve one problem in Cody, but a function 'fmincon' is not recognized by the online compiler. Is there any way to ...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Why do I get a wrong plot?
I'd like to make a plot of a quantity called "PSF" but I cannot get a correct result for some reason. I will first explain the t...

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How to fix the GPU warning?
Hello, I'm trying to use GPU libraries (especially, gpuArray) on an HPC cluster but I constatnly get an error below: --- Wa...

8ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
imresize error. "Expected input method to be a string or a character vector. Allowed values are: 'cubic' or 'bicubic'."
I could solve this problem by retrieving the array from the GPU by gather function. grayImage = gather(gpu_grayImage); grayI...

8ヶ月 前 | 0

| 採用済み

質問


imresize error. "Expected input method to be a string or a character vector. Allowed values are: 'cubic' or 'bicubic'."
I get the error message: Expected input method to be a string or a character vector. Allowed values are: 'cubic' or 'bicubic'...

8ヶ月 前 | 3 件の回答 | 0

3

回答

質問


How to make the negative sign in the legend easier to see?
I generated the following legend in my plot but the negative sign ('-') is hard to see. I tried several different fonts but it d...

10ヶ月 前 | 2 件の回答 | 0

2

回答