# Chang seok Ma

**Statistics**

**MATLAB Answers**

**27** Questions

**0** Answers

RANK**23,632**

of 258,280

REPUTATION**1**

CONTRIBUTIONS

**27** Questions

**0** Answers

ANSWER ACCEPTANCE **
77.78%
**

VOTES RECEIVED**1**

RANK

of 17,801

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110,405

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

Can I use GPU instead of CPU to run parfor-loop?

Hello, I am trying to figure out how GPU works when it comes to parallelization. Below is the part of the code that I a...

8 days ago | 1 answer | 0

### 1

answerQuestion

How can I set two different color for each lsline in the scatter plot?

Hello, I have one question about lsline. Basically, I want to have two lsline(C and D), one for A and one for B respecti...

4 months ago | 1 answer | 0

### 1

answerQuestion

how to change the order of plots?

Hello, I have a following code figure(3) colororder({'b','r'}) yyaxis left bar(horizon2,data2(:,2),1,'FaceColor',[1 1 1...

6 months ago | 1 answer | 0

### 1

answerQuestion

Can I replace the row of the matrix when its value is equal to the previous row?

Hello, I have a following matrix as a sample/ A = [1 2 3; 4 5 6; 1 2 3; 1 2 3]; And I would like to replace the value...

6 months ago | 1 answer | 0

### 1

answerQuestion

xlim is not working

Hello, I am trying to use xlim to limit my x-axis h_to_plot = linspace(1,20,20); horizon = 1:1:20; quant = 1.64; mat ...

6 months ago | 1 answer | 0

### 1

answerQuestion

how many workers can I use in parallelization?

Hello, I am trying to use parallelization and I have one quick question. I saw another post saying that 'I saw from another...

6 months ago | 1 answer | 0

### 1

answerQuestion

how to find value in the matrix using index?

Hello, I am wondering if I can find value using index. For example, given matrix A, I would like to get third value of the f...

6 months ago | 2 answers | 0

### 2

answersQuestion

Is there anyway I can use arrayfun and GlobalSearch at the same time?

Hello, I am trying to use GlobalSearch but not sure how to implement it. Sol = arrayfun( @(v,w,x) fminsearch...

7 months ago | 0 answers | 0

### 0

answersQuestion

How can I get multiple values from arrayfun?

I have the following sample code. clear clc a = 1:1000; b = linspace(100,200,1000); x1 = arrayfun( @(v,w) fminsearch...

7 months ago | 3 answers | 0

### 3

answersQuestion

Question about vectorized fminsearch using flipud

Hello, I am trying to understand how the following code optimize the objective function. I thought if I use vector as an...

7 months ago | 3 answers | 0

### 3

answersQuestion

Question about fminsearch with vector input and output

Hello, I am struggling with fminsearch these days. I found that fminsearch can be used with vector input but I was also told...

7 months ago | 2 answers | 1

### 2

answersQuestion

Struggling with fminsearch with vector inputs

Hello, I am trying to use vector as an input for fminsearch. clear clc R = 1.0080; sig = 0.75; tem...

7 months ago | 2 answers | 0

### 2

answersQuestion

how to adjust bar width (absolute value)?

Hello, I am trying to plot using two different bar graphs in Matlab figure(1) bar(horizon1,data_2001(1:4,2),1,'b','FaceAl...

9 months ago | 1 answer | 0

### 1

answerQuestion

How can I save the figures in the subfolder of current directory path?

Hello, I want to save the figures in the subfolder of current directory. The thing is that I am running my code in two diffe...

9 months ago | 1 answer | 0

### 1

answerQuestion

How to change the order of graphs using errorbar

Hello, I am trying to plot some graphs using errorbar. Here is the part of the code and the result quant = 1.68; linewidth...

9 months ago | 1 answer | 0

### 1

answerQuestion

How to plot graphs with looping through string variables?

Hello, I have one question about plotting graphs. I want to use loop with string variables as below. Basically, I want to r...

9 months ago | 1 answer | 0

### 1

answerQuestion

How can I use GlobalSearch with Parallelization?

Hello, I am trying the code below which uses 'parfor' and 'globalsearch' at the same time. But I got an warning message say...

1 year ago | 0 answers | 0

### 0

answersQuestion

How to use fmincon with vectors? (error message: not enough input arguments)

Hello, I am trying to use fmincon to find values that maximizes the function. (2 variables) The document on the website ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Matlab only uses half of the number of logical cores. How can I use all of them?

Hello, I am trying to use parallelization in Matlab. feature('numCores') it gives me MATLAB detected: 6 physical cor...

1 year ago | 1 answer | 0

### 1

answerQuestion

Parallelization is not working in Matlab

Hello, I am trying to paralleliza my code in Matlab. Below is a part of my code. Basically, I am finding the minimum pos...

1 year ago | 0 answers | 0

### 0

answersQuestion

How can I convert 1d vector into 4d matrix?

Hello, I have a vector called VV which is 1d vector (38766 * 1) And I want to convert this vector into the matrix V. I wa...

1 year ago | 1 answer | 0

### 1

answerQuestion

cstdlib: No such file or directory

Hello, I am trying to compile mex function clear clc mex vfi_mex.c -I"../CRoutines" But then I got an error message as b...

1 year ago | 0 answers | 0

### 0

answersQuestion

Can I call mex function in other mex functions

Hello, I am trying to call mex function in other mex functions as below. I need matrix multiplication but I realized I have ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Basic question about pointer in mex function

Hello, I am getting confused with the basic concept of pointer in mex function. So I have couple of questions... Below is a...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to Loop in mexfunction?

Hello, I am working on 2d array in mexfunction. And I have a couple of questions about it. This is the example that I modif...

1 year ago | 1 answer | 0

### 1

answerQuestion

Mexfunction: Undefined function or variable

Hello, I am trying to use Mexfunction in the matlab but I got a problem. #include "mex.h" #include "blas.h" #include <st...

1 year ago | 1 answer | 0

### 1

answerQuestion

I have a question in running my program

Hi I just bought matlab and download on my laptop but still I can't run my program I can only see the running screen as ...

5 years ago | 0 answers | 0