# Chang seok Ma

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**27** Questions

**0** Answers

RANK**38.680**

of 290.844

REPUTATION**1**

CONTRIBUTIONS

**27** Questions

**0** Answers

ANSWER ACCEPTANCE **
81.48%
**

VOTES RECEIVED**1**

RANK

of 19.715

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 145.416

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

**Feeds**

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

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

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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 ...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

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

ongeveer 3 jaar 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...

ongeveer 3 jaar 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...

ongeveer 3 jaar ago | 1 answer | 0

### 1

answerQuestion

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

ongeveer 3 jaar 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...

ongeveer 3 jaar 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 ...

ongeveer 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

meer dan 3 jaar 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 ...

meer dan 7 jaar ago | 0 answers | 0