Community Profile

photo

Scott


Last seen: 8 months ago Active since 2016

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

1

answer