Community Profile

photo

Scott


Last seen: 9 mesi fa Attivo dal 2016

Followers: 0   Following: 0

Contatto

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta