Feeds
질문
linprog function over multi period
For the following question. A Company expects an increase of demand and needs to scale-up. Using MATLAB linprog to propose a r...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
I am trying to print a structure array
options=optimoptions(@linprog,'Algorithm','dual-simplex'); f=-1*[110;220;250;140]; A=[2/3,1,5/8,5/6;0,1,6/5,3/4;0,1,1/2,0;0,0,...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Trouble with my homework - Getting an error in my linear programming code requiring a double.
options=optimoptions(@linprog,'Algorithm','dual-simplex'); f=[110;220;250;140]; A=[2/3,1,5/8,5/6;0,1,6/5,3/4;0,1,1/2,0;0,0,0,1...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
My function output is not what I was expecting, can someone have a look and suggest why this might be the case. Thanks
The assignment asks to write a function to find unique isosceles triangles of integer sides and area. A=sqrt(m*(m-a)(m-b)(m-...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Trying to correct this functions output.
The assignment asks to write a function to find unique isosceles triangles of integer sides and area. A=sqrt(m*(m-a)(m-b)(m-a) w...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Undefined function or variable 'a'.
My current problem refers to the below script and function. clear; for x=100:145 assfunct1(x); fprintf('x: %...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
If I have a function with 1 input producing 3 outputs; ran a small program loop to produce multiple outputs; how would I print out the input and 3 values in that order for the first 12 outputs.
If I have a function with 1 input producing 3 outputs; ran a small program loop to produce multiple outputs; how would I print ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Can someone help me with my if statements in my function?
I have written this function for a homework assignment, Basically finding heronian isosceles triangles for a given Perimeter. My...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
This code crashes my MATLAB and I don't know y figure(2); x = linspace(0,2); y = linspace(5,7); [X,Y]=meshgrid(x,y); Z = sin(X*Y).*Y + Y*exp(-cos(X*Y^2)).*X; mesh(X,Y,Z); xlabel('x'); ylabel('y'); zlabel('z'); grid on; title('Question 4 plot');
Hi, My MATLAB crashes when I try to execute this code, MATLAB (R2015b) has stopped working A problem caused the program t...
8년 초과 전 | 답변 수: 1 | 0