photo

LM


Last seen: quasi 4 anni fa Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Risposto
how to get rid of error using find too many input arguments?
Thank you for all your help! I have fixed it!

oltre 6 anni fa | 0

Domanda


how to get rid of error using find too many input arguments?
[find(stock.permno)]==notrading(1); for i=1:18522 end for j=10137 newt(find(toremove(i)==c),:)=[];...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


How should do i get rid of this error?
for i=1:length(no) Distance=[]; k=0; end for j=1:length(no) if j~=i sum_squ_d...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


why won't this code run?
[find(stock.permno)]==notrading(1); for i=1:18522 end for j=10137 newt=[find(toremove(i)==c)],:)=[]; ...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


how do i make an expression to the left of the equals sign a valid target so i can get rid of this error?
[find(stock.permno)]==notrading(1); for i=1:18522 if i=10137 newt=((find (toremove(i)==c)),:)=[]; ...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


I get an error in my for statement it says i need to add and end and i did
l_s=[]; % test a trade for i=1:21 if abs(stock_t(3).price(i)-stock_t(5).price(i))>top5(1,4) for ii=i:2...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Why is matlab not allowing me to load this data?
>> load('assignment_data17.mat') Error using load Unable to read MAT-file /Users/apple/Desktop/Financial Econometrics/assignme...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Why when sometimes i want to run a section matlab says on the bottom left right corner busy?
Why does a "busy" message appear on the right hand corner when i want to run a section?

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Why am i getting an error on this command? "N = length(avg_daily_ret2);"
"N = length(avg_daily_ret2);" Error says : The expression to the left of the equals sign is not a valid target for an assig...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Why is my plot not showing years on the x axis but random numbers and what code do i use to make it years?
In the screen shot my plot has got random numbers on the x axis instead of years, what code do i use to change this? <<https:...

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


How do you change the x scale of a plot to logs?
I am trying to make my plots x scale in logs i did it manually but don't know the code.

oltre 6 anni fa | 2 risposte | 0

2

risposte

Domanda


Why do i get rid of this error using cumsum saying 'dimension argument must be positive integer scalar within indexing range?
I am trying to get the cumulative return of four trading strategies using cum sum and it is giving me the error in the screen sh...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


How do i get a scalar value so i can get rid of this error using fmincon function?
trying to find optimal weights for portfolio and want to use fmincon to maximise sharp ratio Maximize Sharpe Ratio If Put a...

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


Why do i get an error when using readtable saying cannot open file
Error using readtable (line 198) Unable to open file ‘equity_dataset_30_2.csv’. I have made sure i have used the file name c...

quasi 7 anni fa | 3 risposte | 0

3

risposte