Pregunta


Code that makes matlab jumping loops without fininishing the remaining iterations.
Hi, I have got the following 2 loops: for d=1:nDates %loop over rebdates for r=1:nRebDates ind=ismember(PortMem...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Nested Loops and break command
Hi, below you can see my code and my question is written in green after the command break. Can you help me?

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Jump to next loop (alternative goto)
Hi, my code is mentioned below. The question is green after % if statement. May you help me? function NewRanks=createRebRankin...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Alternative for an increasing number of conditions in if-statements
Dear all, My issue: I have got a date vector with portfolio rebalancing dates. As the time goes by, the vector length increas...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Portfolio returns with rebalancing dates and changing portfolio members
Hi, Is there any specific portfolio matlab code, which can calculate Portfolio returns/Performance for a given period by taken ...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Download Data from Excel worksheet: Automatically changing range in Excel
Hi I will have to download data from excel worksheets on a daily bases. I used the following formula: T=readtable('xxx_Ang_Sek...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Tables: Transform Variablenames
Hi I downloaded data from an excel worksheet to matlab. Matlab creates a table. Matlab inserts the first row of the data in exc...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Respondida
Error on opening a .mat file.
The file is 644'234 KB big. My computer is not the latest one. How to check if my .mat file is in ASCII format?

más de 5 años hace | 0

Pregunta


Error on opening a .mat file.
I have got a rather big .mat file. When I try to open it an error message pops up: "File might be corrupt." Here is a more det...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Respondida
How to use Matlab's unit test framework component verifyError to verify an error from a MEX function
Hi Andy, perhaps you can help me. how to only test the error message? I would like to test the following message written i...

más de 5 años hace | 0

Pregunta


How to unit test with verifyWarning?
Hello, I am trying to apply the function verifyWarning on the following function: function [adjdate] = AdjStartDate(startDate...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to unit test with verifyError?
Hi everyone, I am trying to unit test the following function: function res=add5(x) % ADD5 Increment input by 5. if ~i...

más de 5 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Unit tests with verifyError
Hello, I am trying to unit test the error message in the function below, which pops up if I input an incorrect fieldname: 'ALT...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to unit test with verifyWarning?
Hello, I am unit testing the following function: function [adjdate] = AdjStartDate(startDate) if ~strcmp(startDate,datestr...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to unit test a long function?
I have got a long function, which downloads financial data from bloombberg, aggregates, cleans it etc. Now I will have to unit ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating Unit tests on Functions using classes.
Hi there, I've got rather a long function which I will have to test (unit test). The function contains many iterim results whic...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Deleting required object properties data for calculating dependent properties data without deleting the data in dependent properties.
Hi everybody. I created a class using the knowledge in https://ch.mathworks.com/help/matlab/matlab_oop/example-representing-stru...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Getting access of an output variable from a function or script which is saved in a different folder.
Hi everybody, In one folder (P:\MATLAB\SystematischesPM\Data) I have got a script named "DataDownload". It returns a cell 20x1 ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Respondida
Object Oriented Programming - Leaving properties from objects empty.
Thanks a lot Adam and Matt. I am quite new in OOP. Therefore I would like the following question. In my project the objects (=st...

más de 5 años hace | 0

Pregunta


Object Oriented Programming - Leaving properties from objects empty.
Hi everybody! I am writing the following code: classdef Value0_1 properties Price Earn...

más de 5 años hace | 2 respuestas | 0

2

respuestas