Jingyu Liu
Followers: 0 Following: 0
Feeds
질문
How to write a for loop with d indexes
I am writing a for loop such like for i_1 = 1:n_1 for i_2 = 1:n_2 ... for i_d = 1:n_d ...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to create a 3 * 3 * 1 array using ones or zeros?
The help of ones or zeros tell us "If any trailing dimensions greater than 2 have a size of 1, then the output, X, does not incl...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to run matlab code in the server background?
Take the following matlab code for an example. How to run it in the server background? I tried nohup test.m & but failed. % tes...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to solve MINLP via problom-based optimization
I have an optimization problem which is a MINLP (mixed integer nonlinear programming). I tried to solve it via problem-based opt...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I using fmincon on both vector variables and matrix variables
I have a optimization problem with two variables: is a vector and is a matrix. I want to solving it by fmincon. My question is...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Integral a function handle of two variables with respect to a variable
f = @(x, y) x+y; g = @(x) integral(@(y) f(x,y),0,1) t = (0:0.1:1); g(t) It is wrong! How can I get the expected result?
거의 3년 전 | 답변 수: 1 | 0