photo

Olivia


Last seen: 2 mesi fa Attivo dal 2024

Followers: 0   Following: 0

Statistica

Feeds

Visto da

Domanda


fmincon is not working
I'm trying to optimize the weights of a stock portfolio to maximize returns. I checked if expected_returns is a vector, and it i...

2 mesi fa | 1 risposta | 0

1

risposta

Domanda


variables not being saved?
I just included the code for U here, but neither L nor U are being saved, but they can both be displayed? I'm trying to use the ...

6 mesi fa | 2 risposte | 0

2

risposte

Domanda


finding the minimum of a function input with a parameter
%function to find recylce flowrate for range of conversions %then trying to find minimum conversion where total_recylce_flowra...

6 mesi fa | 3 risposte | 0

3

risposte

Domanda


error saying not enough input arguments?
function newmatrix = rootflow(conversion) a = [-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

6 mesi fa | 1 risposta | 0

1

risposta

Domanda


trying to call a function from a function file in a script file
func = afunction; %trying to make the variable func equivalent to "afunciton", % the function I created in the afunction file ...

7 mesi fa | 2 risposte | 0

2

risposte

Domanda


I'm just trying to make a function file with the function f(x)=e^cosx -x^3+2x^2+5x-3
function y = e^cosx -x^3+2x^2+5x-3 %I keep getting a parse error at the = that says it might be invalid matlab syntax.

7 mesi fa | 1 risposta | 0

1

risposta