Community Profile

photo

Daigo


Last seen: 10 dagar ago Active since 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

View badges

Content Feed

View by

Question


Where can I find details about 'wind' data in MATLAB?
If you use the command below, you can load three dimensional wind data but I cannot find any details about it. data = load('w...

4 månader ago | 0 answers | 0

0

answers

Question


How to take meshgrid of latitude and longitude as an input in Horizontal Wind Model 07?
Hello, I'm a beginner of Simulink. I'm trying to get a wind distribution over a certain area (latitude: , longitude: ) at specif...

4 månader ago | 1 answer | 0

1

answer

Question


How to prevent the elongated plot when using tiled layout for image and plot
When I align an image and a plot in tiled layout, the plot tends to become "elongated" as shown in an example below. Is there an...

4 månader ago | 1 answer | 0

1

answer

Question


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

11 månader ago | 0 answers | 0

0

answers

Question


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

12 månader ago | 1 answer | 0

1

answer

Question


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

12 månader ago | 1 answer | 0

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

0

answers

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

0

answers

Question


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

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

1

answer

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

ungefär ett år ago | 1

| accepted

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

2

answers

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

ungefär ett år ago | 0

| accepted

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

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

ungefär ett år ago | 0

| accepted

Question


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

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

3

answers

Question


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

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

2

answers