統計
MATLAB Answers
0 質問
22 回答
ランク
of 154,105
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
How to deal with discrete constraint fmincon
You can write the equality constraint matrix by keeping track of the indices, or you can use the new problem-based workflow to d...
How to deal with discrete constraint fmincon
You can write the equality constraint matrix by keeping track of the indices, or you can use the new problem-based workflow to d...
4年弱 前 | 1
回答済み
MILP - Multidimensional optimization
Your objective is obj = sum(sum(Y.*X)) which is not scalar, but a 1-by-1-by-4-by-2 ND array. Currently, the problem-b...
MILP - Multidimensional optimization
Your objective is obj = sum(sum(Y.*X)) which is not scalar, but a 1-by-1-by-4-by-2 ND array. Currently, the problem-b...
約6年 前 | 0
回答済み
How to write matlab code for simplex equation.
You can use the new problem-based approach in R2017b if you want a more symbolic representation for your problem: <https://ww...
How to write matlab code for simplex equation.
You can use the new problem-based approach in R2017b if you want a more symbolic representation for your problem: <https://ww...
7年弱 前 | 0
回答済み
Linear Optimization wih R2017b: Are the constraints correctly defined? (each constraint has multiple entries) - current result is that the Intlinprog stopped
I am not sure what problem you are trying to solve based on the drawing, but have you tried using "showproblem" on linsol to che...
Linear Optimization wih R2017b: Are the constraints correctly defined? (each constraint has multiple entries) - current result is that the Intlinprog stopped
I am not sure what problem you are trying to solve based on the drawing, but have you tried using "showproblem" on linsol to che...
約7年 前 | 0
回答済み
How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
If you have R2017b, the new <https://www.mathworks.com/help/optim/problem-based-lp-milp.html Problem-based approach> lets you sp...
How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
If you have R2017b, the new <https://www.mathworks.com/help/optim/problem-based-lp-milp.html Problem-based approach> lets you sp...
約7年 前 | 1
回答済み
linprog
If you have R2017b, you can use the new problem-base approach. It will take care of the constant value for you: <https://www.ma...
linprog
If you have R2017b, you can use the new problem-base approach. It will take care of the constant value for you: <https://www.ma...
約7年 前 | 0
回答済み
Implementing Markowitz Portfolio Optimization in Matlab
As noted in the doc page for <https://www.mathworks.com/help/optim/ug/quadprog.html quadprog>, the objective function that qu...
Implementing Markowitz Portfolio Optimization in Matlab
As noted in the doc page for <https://www.mathworks.com/help/optim/ug/quadprog.html quadprog>, the objective function that qu...
7年以上 前 | 0
回答済み
About matlab genetic algorithm example
Since the number of patients in your case is 34, the population size is at most 34 for you. Typically, you would choose a number...
About matlab genetic algorithm example
Since the number of patients in your case is 34, the population size is at most 34 for you. Typically, you would choose a number...
10年以上 前 | 0
回答済み
Adding black border within video (similar to padarray)
In order to create a black border on your video frame, you can use matrix indexing methods. See the documentation page for <http...
Adding black border within video (similar to padarray)
In order to create a black border on your video frame, you can use matrix indexing methods. See the documentation page for <http...
10年以上 前 | 0
| 採用済み
回答済み
Index exceeds matrix dimensions when saving the data?
It is also possible that you get this error because you have a variable called |save| in your workspace. If that is the case, wh...
Index exceeds matrix dimensions when saving the data?
It is also possible that you get this error because you have a variable called |save| in your workspace. If that is the case, wh...
10年以上 前 | 10
回答済み
Transforming two vectors (2D plot points) and color data (1D vector) into 2D matrix color data (for contour plot)
In order to distribute the color information in |C| to a 2D-grid of points indexed by |(A,B)|, you would need the number of poin...
Transforming two vectors (2D plot points) and color data (1D vector) into 2D matrix color data (for contour plot)
In order to distribute the color information in |C| to a 2D-grid of points indexed by |(A,B)|, you would need the number of poin...
10年以上 前 | 0
| 採用済み
回答済み
Multiple 2d "contourf" surfaces in a 3d figure
To recreate something like the figure attached, you can first create the planar surface in the 3D-plane using the |surface| func...
Multiple 2d "contourf" surfaces in a 3d figure
To recreate something like the figure attached, you can first create the planar surface in the 3D-plane using the |surface| func...
10年以上 前 | 0
回答済み
How to construct 3D images from 2D images taken at different depth of that object?
Looking at the code you provided, it is not clear what this line is trying to achieve: slice(:,:,i) = (temp(:,:,1)==255) + ...
How to construct 3D images from 2D images taken at different depth of that object?
Looking at the code you provided, it is not clear what this line is trying to achieve: slice(:,:,i) = (temp(:,:,1)==255) + ...
10年以上 前 | 1
| 採用済み
回答済み
overplotting 6 graphs by changing into 3 graphs
You can plot multiple lines into one subplot by using the |hold on| command and removing the call to |figure|. In your first MA...
overplotting 6 graphs by changing into 3 graphs
You can plot multiple lines into one subplot by using the |hold on| command and removing the call to |figure|. In your first MA...
10年以上 前 | 0
回答済み
How can I deal or track only one face while I have detected all the faces in front of camera?
Once you have created your |vision.CascadeObjectDetector| object, you can apply it to your image |I| to detect the faces on the ...
How can I deal or track only one face while I have detected all the faces in front of camera?
Once you have created your |vision.CascadeObjectDetector| object, you can apply it to your image |I| to detect the faces on the ...
10年以上 前 | 0
| 採用済み
回答済み
How to use griddata() with independent z component
It seems like you are trying to get a surface plot in 3 dimensions from 3 n-dimensional vectors |(x,y,z)|. This is not possible ...
How to use griddata() with independent z component
It seems like you are trying to get a surface plot in 3 dimensions from 3 n-dimensional vectors |(x,y,z)|. This is not possible ...
10年以上 前 | 0
回答済み
Recommendation for Complex Object Array Structure
It seems like a |table| might be a good option in your case. Refer to the following documentation page to see the advantages of ...
Recommendation for Complex Object Array Structure
It seems like a |table| might be a good option in your case. Refer to the following documentation page to see the advantages of ...
10年以上 前 | 1
回答済み
input variable stored in matrice
You could also use a structure named |g| to store the value of g for each planet instead of a matrix. For example, you create yo...
input variable stored in matrice
You could also use a structure named |g| to store the value of g for each planet instead of a matrix. For example, you create yo...
10年以上 前 | 0
| 採用済み
回答済み
Grouped Bar plot- colors for groups
If you are using MATLAB R2014a or earlier versions, you can recolor individual bars by first getting a handles to the bar plot a...
Grouped Bar plot- colors for groups
If you are using MATLAB R2014a or earlier versions, you can recolor individual bars by first getting a handles to the bar plot a...
10年以上 前 | 0
回答済み
How can I draw three two dimensional plots on a three dimensional plot?
What do you mean by delimiting the first octant? Do you want only positive |x|, |y|, and |z| values on your final plot? Also,...
How can I draw three two dimensional plots on a three dimensional plot?
What do you mean by delimiting the first octant? Do you want only positive |x|, |y|, and |z| values on your final plot? Also,...
10年以上 前 | 0
回答済み
how to connect different classes?
Like per isakson pointed out, I think that you can achieve this by using memoization techniques. The following page on MATLAB C...
how to connect different classes?
Like per isakson pointed out, I think that you can achieve this by using memoization techniques. The following page on MATLAB C...
10年以上 前 | 0
回答済み
How to plot a surface given a vector with data?
The error you get comes from the fact that the |Z| input to the |surf| function must be a matrix. It seems like you want the ...
How to plot a surface given a vector with data?
The error you get comes from the fact that the |Z| input to the |surf| function must be a matrix. It seems like you want the ...
10年以上 前 | 0