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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年弱 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年弱 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 3 件の回答 | 0