Statistics
RANK
152,715
of 295,673
REPUTATION
0
CONTRIBUTIONS
19 Questions
5 Answers
ANSWER ACCEPTANCE
52.63%
VOTES RECEIVED
0
RANK
of 20,262
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,257
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
10 years ago | 2 answers | 0
2
answersQuestion
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...
10 years ago | 1 answer | 0
1
answerVariable 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
10 years ago | 0
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...
10 years ago | 0
Question
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...
10 years ago | 4 answers | 0
4
answersQuestion
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 ...
10 years ago | 1 answer | 0
1
answerQuestion
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...
11 years ago | 2 answers | 0
2
answersQuestion
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...
11 years ago | 0 answers | 0
0
answersQuestion
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...
11 years ago | 3 answers | 0
3
answersgeometric 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...
11 years ago | 0
Question
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...
11 years ago | 1 answer | 0
1
answerQuestion
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...
12 years ago | 3 answers | 0
3
answersQuestion
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...
12 years ago | 2 answers | 0
2
answersQuestion
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...
12 years ago | 2 answers | 0
2
answerswrite 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...
12 years ago | 0
Question
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...
12 years ago | 2 answers | 0
2
answersQuestion
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...
12 years ago | 2 answers | 0
2
answersQuestion
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...
12 years ago | 0 answers | 0
0
answersQuestion
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...
12 years ago | 1 answer | 0
1
answerQuestion
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...
12 years ago | 3 answers | 0
3
answersQuestion
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...
12 years ago | 1 answer | 0
1
answerQuestion
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...
13 years ago | 1 answer | 0
1
answerPricing 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...
13 years ago | 0
Question
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...
13 years ago | 3 answers | 0