Feeds
提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
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
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
10 years 前 | 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...
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 前 | 0
提问
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 前 | 4 个回答 | 0
4
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 3 个回答 | 0
3
个回答已回答
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...
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...
11 years 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 3 个回答 | 0
3
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答已回答
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...
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...
12 years 前 | 0
提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 3 个回答 | 0
3
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
13 years 前 | 0
提问
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 前 | 3 个回答 | 0