Community Profile

photo

Daigo


Last seen: 7 días hace Con actividad desde 2021

Programming Languages:
MATLAB
Spoken Languages:
English

Estadísticas

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

Ver insignias

Content Feed

Ver por

Pregunta


Cannot find Preferences > Keyboard > Shortcuts after enabling dark mode
I am in trouble changing the keypoard shortcut preferences after enabling the dark mode in MATLAB R2023b. I followed the proce...

2 meses hace | 0 respuestas | 1

0

respuestas

Pregunta


License issue in MATLAB?
I'm trying to fix a long launching time of my MATLAB/R2022a based on Why does MATLAB get stuck in the "Initializing" or "Busy" s...

7 meses hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 1 año hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 2 años hace | 2

| aceptada

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 2 años hace | 0

| aceptada

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 2 años hace | 0

| aceptada

Pregunta


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

alrededor de 2 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas