photo

Saad


EDHEC Business School

Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • First Review
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


For loop or while loop? help please
Dear sir, I have a simple code for k=1:3 for i=1:7 do something end end If k=1 I would like the l...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How to write data from matlab to excel horizontally?
Dear all, Please any advice on this is much appreciated. If i use this command: xlswrite('xxxtrice.xlsx', output, 'She...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Risposto
Variable not recognized outside a loop
Thank you Azzi. I did increment v but I deleted it by mistake. Thanks a lot for your help Rgds Saad

quasi 10 anni fa | 0

Risposto
Variable not recognized outside a loop
It says " ??? Undefined function or variable 'F'." Thanks to the output "F" I managed to build another code below the loop...

quasi 10 anni fa | 0

Domanda


Variable not recognized outside a loop
Dear All, I have a simple but a long code. As you can see from the loop below, I am not a very efficient coder but my code wo...

quasi 10 anni fa | 4 risposte | 0

4

risposte

Domanda


logical indexing please help
Hey guys, I would really appreciate your help in this. I have a matrix of logical (i.e. for each row I have a lot of ones ...

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I use the output of "sprintf" to read the content of a matrix
Dear all, I am trying to use a loop to read into different matrices which are: results_USA, results_UK, results_JAP and resul...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


Regression with expanding window and break points
Dear All I would like to do an expanding window regression with breaks points. I am struggling to build the code for that. He...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


geometric mean month by month
Dear All, I need some help please. I have two columns in a matrix B. B=[A, X]; X is a column vector that contains differ...

circa 11 anni fa | 3 risposte | 0

3

risposte

Risposto
geometric mean month by month
Or maybe simpler I could just pick the first and the last day of the month and do a geometric mean of all values in between. Any...

circa 11 anni fa | 0

Domanda


how to use transformation with fminunc
Dear all, I am replicating a paper who recommends using fminunc to do a "constrained" optimization through a transformation...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


delete the row where is a NaN
Dear all, I am stuck in a silly programming problem and I would like to ask for some help please. I have two cells a and b...

oltre 11 anni fa | 3 risposte | 0

3

risposte

Domanda


array summation with matrices of different size
Dear All, I would appreciate some help on this one please. I am summing matrix elements in different arrays. Say we have 2...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


assign a value to a string
Dear all, I have a list of string: txt={'BBB3', 'BBB2', 'BBB1', 'A3', 'A2', 'A1','AA3','AA2','AA1'}; i would like to as...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Risposto
write a cell information in excel file
Thanks a lot Walter...I have tried the code and it is running nicely although I haven't fully understood it. Just a quick questi...

oltre 11 anni fa | 0

Domanda


write a cell information in excel file
Dear all, could you please advise on how I could write cell information in excel file. here is some part of the code. o...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Fmincon + Interior point algorithm + Memory problems---How to fix this problem please>
Dear All, I keep receiving this error message when implementing an optimization with fmincon (interior point algorithm). I s...

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Lsqlin-Matrix badly scaled
Dear all, I would appreciate any comment or help on this. I have to solve a constrained linear squared problem with lsqlin wh...

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


Break a loop when reading different excel files
Dear all, I am trying to read different excel files from 2010 to 2012. Basically, for each month, there is one excel file. So...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


find common elements of two arrays
Dear all, I have two arrays of different size say A(nx1) and B(mx1) where n differs from m. I would like to find the elements...

oltre 11 anni fa | 3 risposte | 0

3

risposte

Domanda


Stop the optimiser manually and get the final values
Dear all, I am trying to optimize a function with many parameters using fminunc. The optimizer has been running for more than...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


fminsearch does not minimize my function
Dear all, I am using fminsearch to minimize a function with 7 parameters..the function is very long. Fminsearch doesnt conve...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Risposto
Pricing a bond with different YTM (at cross sectional level)
To Fangjun /Oleg I know that but I have a time series of bond and for each row I have a zero rate with different maturities so...

circa 13 anni fa | 0

Domanda


Pricing a bond with different YTM (at cross sectional level)
Dear Sir or Madam I was wondering if there is a function in matlab that prices bonds with different YTM?. For example: Bon...

circa 13 anni fa | 3 risposte | 0

3

risposte