質問


How to change the function name to match its file name in a code?
Hello, I have a simple question, I think! If we have a function named hello.m but its file name is called Hi then how to ch...

1年以上 前 | 0 件の回答 | 0

0

回答

質問


How to rename a lot of mfiles in a folder
Hello, I have a folder which contains many mfiles. I would like to change the name of these mfiles in a for-loop (they are too...

1年以上 前 | 3 件の回答 | 0

3

回答

質問


Numerical calculation of Hessian for a very complex problem
Hello, I need to estimate the numerical Hessian for my very complex high-dimensional function F. I first explain a bit on the c...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


Can we manipulate a file without opening it
Hello, I have a question which I explain in bellow. Consider the following loop: for i=1:10^6 A = Read a csv file; A = per...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


How to analyze a csv (txt or xls) file without opening it
Hello, I have an optimization problem in which I need to simultaneously run it several times using par-for. The reason is that ...

1年以上 前 | 0 件の回答 | 0

0

回答

質問


How to vectorize a complex function?
Hello, I have a rather complex function but I need to vectorize it in order to be able to use a matlab optimization package. My...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


apparently the command rmoutliers does not do the job correctly
Hello, It seems to me that the command "rmoutliers" has some problems. To make things clear I explain using an example as bello...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


A problem with function handle
Hello, I have a simple problem but I do not understand why function handle behaves like this!!! I explain by a simple example i...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Symbolic dependency apparently sometimes gives wrong answers
Hello, I have a simple question but could not figour out how to tackle it by myself. Consider the following: syms p1 y f=[p...

1年以上 前 | 3 件の回答 | 0

3

回答

質問


A rather different stopping criteria for particle swarm
Hello, I am working on an optimization problem where the objective function is non-smooth and even worse, it is not defined...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Inconvenience working with matlabFunction
Hello, One of you did kindly respond my question (my question was very similar to this one) but I again ran into problem and ne...

1年以上 前 | 3 件の回答 | 0

3

回答

質問


Inconveniences working with matlabFunction
Hello, I think that I am repeating the same sort of question I bothered you yesterday but I did not expect to run into peoble...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


A MATLAB function with mixed scalar and vector as inputs fail
Hello, I have a question which I explain by a simple example first. Consider the matlab function H=@(x,x0,par1,par2)[x+par1 x...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Opening or loading a rather complex dll file
Hello, I have downloaded a few matlab codes (which are about estimating the density and its higher order derivatives) whose ex...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Surrogate optimization throws error when I try to use the vectorized option
Hello, Attemting to use vectorized option in surrogate optimization fails and I am not able to figour out the reason behind. I...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Is it possible to implement optimization algorithms, especially particle swarm, with "dynamic bounds" in MATLAB?
Hello, I have a rather special optimization problem in which I found particle swarm a good solver. I know, roughly, where the o...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


An error due to output function
Hellow, I am getting an error message which I did not expect (I explain why). I am solving an optimization problem. When I use ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Parallel computing seems to do nothing in fmincon and patternsearch
Hello, I am using both fmincon and patternsearch algorithms. Note that, with regard to fmincon, I have no analytical gradient (...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Is it possible to specify the 'order' of a smoothing spline?
Hello, I need to use smoothing splines. The matlab command 'csaps' can only be used for the case of a cubic smoothing spline....

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Different commands to do spline interpolation, are they the same?
Hello, I have a question about (cubic) spline interpolation in MATLAB. For cubic spline interpolation I see several commands wh...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


More detailed output function in optimization
Hello, I think I have a simple question but found it difficult to fix it myself. In doing the optimization we can have 'our' ...

1年以上 前 | 0 件の回答 | 0

0

回答

質問


Choosing a function handle from a group of function handles
Hello, Assume that we have saved many function handles f_1_1, f_1_2,f_1_3, ..., f_2_1,f_2_2,f_2_3, .... in a folder. Now, assum...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Matlab function with initial long execution time
Hello, When I run a function handle its execution time is initially very long but in the second, third, etc runs its execution ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Conversion from symbolic to matlabFunction and writing the result to a file
Hello friends, I have a simple problem but it seems difficult for me to fix. I want to create a matlabFunction from a symboli...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


Techniques of common subexpression elimination, disorganization in MATLAB, etc..
Hello friends, Yesterday I posed a question about performance gain in matlab by using techniques of common subexpression elimin...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


My mex file is slower than my original matlab equivalent
Hello friends, I need to calculate some quantities of linear algeibra type, so they are merely matrix and vector products. The ...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


If matlab coder fails can we still do it ourselves?
Hello friends, I have a simple question. As you know matlab coder cannot create mex functions always, for instance when the inp...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Making a mex function for a rather complex code
Hello friends, I have a code which is very time consumming. Therefore, I thought to use mex function to do the heavy part of ca...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Defining complex input types to make a complex mex function
Hello friends, Recently I became familliar with mex function. I am quite new to this and have lots of hopes to speed up my slow...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Finding the index of elements of a vector in a mesh quite fast
Hello friends, I would like to find the index of vector of numbers A being closest in a mesh. I know how to do this but I hope ...

2年弱 前 | 1 件の回答 | 0

1

回答

さらに読み込む