Community Profile

# Scott

Last seen: 3 Monate vor Aktiv seit 2016

#### Statistics

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

4 Monate vor | 1 Antwort | 0

### 1

Antwort

Frage

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

mehr als 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

mehr als 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Undefined function or variable 'a'.
My current problem refers to the below script and function. clear; for x=100:145 assfunct1(x); fprintf('x: %...

mehr als 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

mehr als 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

mehr als 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

mehr als 6 Jahre vor | 1 Antwort | 0

Antwort