Metin Akyol
Followers: 0 Following: 0
Feeds
질문
Use table row as input for a new table
I would like to create a new table that has 2 columns. These columns are supposed to be filled with the values from the rows of ...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Backtest Strategy class Error
When I try to replicate this tutorial; https://www.mathworks.com/help/finance/backtest-investment-strategies.html I am getting...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Converting Numeric Dates in Matlab does not work
I have a date column in my table with dates in numeric format, e.g. one date might look like this: 738570 When I try to convert...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Vertcat with equally sized tables does not work
I am trying to concatenate 2 tables that have the same size (8X3): table_3 = vertcat(table_1 , table_2) but I get the error...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Iterating through Matlab Table
I have a simple Matlab table with dates and 2 additional columns that contain numbers and strings. The dates are NOT daily, that...
2년 초과 전 | 답변 수: 3 | 0
3
답변질문
print table using printf
Is there an elegant way to print the content from a table using fprintf? Right now, I am printing the columns one at a time, un...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Cell Arrays causing problem with Subsetting
I am trying to create a subset of a table like so (which works fine) cond1 = "random_name" table2= (table1.col1 == cond1,:) N...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Creating subset of table
When I am trying to create a subset of my table like so: table_1(table_1.col_1>=0,:) I am getting this error: Operator '>=' i...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change class property inside of class function/method
I would like assign a new value to a variable created in my class, but the below approach does not update the variable. Is there...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Subsetting works in mlx file but not m file
The following line works without any issues in an mlx file but not in an m file for some reason. Does anyone know why? subset_t...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Access to class properties from class methods
I would like to access my classes properties from with the classes methods (both read and write access) but I am getting an 'unr...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Sort Matlab table based on pre-defined order
I would like to sort a table based on a column that only contains 4 string values (A, B, C, and d) in an specific order that is ...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Check if cell contains only certain combination of variables
I have a 4x1 cell filled with 4 possible string values: 'A', 'B', 'C', or 'D' I would like to ensure that the values in there e...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
Iteratively fill structure with custom class objects
I would like to run a loop throgh a table that takes values from each row and uses them as input parameters for custom classes a...
2년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Iterate over table one row at a time
This worked: rows = height(strat_details); for row = 1:rows table(row,:) end
Iterate over table one row at a time
This worked: rows = height(strat_details); for row = 1:rows table(row,:) end
2년 초과 전 | 0
| 수락됨
질문
Iterate over table one row at a time
I would like to iterate over a table one row at a time (and then use the elements from the respective columns of that row). What...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
Change working directory to where the mlx file is saved
I have an mlx file which is run from different computers and I would like to automatically change the working directory to the d...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
Conditionally replace numerical Array with Strings
I have a simply array with 0s and 1s and I would like to replace each element conditionally with a string like so: old_array = ...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
Subset Table using an array of strings
I am using the following code to select a subset of my table based on column names: table_subset = table(:,ismember(table.Prope...
거의 3년 전 | 답변 수: 1 | 0