photo

Chang seok Ma


Last seen: ungefär en månad ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 4

View badges

Feeds

View by

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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

nästan 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 3 år ago | 1 answer | 0

1

answer

Question


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

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

1

answer

Question


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

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

2

answers

Question


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

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

0

answers

Question


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

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

3

answers

Question


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

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

3

answers

Question


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

ungefär 3 år ago | 2 answers | 1

2

answers

Question


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

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

2

answers

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

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

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 0 answers | 0

0

answers

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

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

0

answers