david crowley
Followers: 0 Following: 0
Feeds
질문
Table referencing using cell
Hi all, I have two tables: Tickers Tickers nbr ________ ___ {'A2M' } 1 {'AAN' } 2 {'AAP' ...
거의 2년 전 | 답변 수: 2 | 0
2
답변답변 있음
Simple logical conditional flag column
Figured it out tt.C2 = cumsum(tt.C1);
Simple logical conditional flag column
Figured it out tt.C2 = cumsum(tt.C1);
거의 3년 전 | 0
| 수락됨
질문
Simple logical conditional flag column
I require help to develop some logic on the below data extract. I need the C2 column to toggle to '1' when C1 is '1'. Then, when...
거의 3년 전 | 답변 수: 2 | 0
2
답변질문
Build array from for loop
I have a for loop that generates an array (newdd) that changes in length in each iteration. How do create a new variable (arra...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
Calculate running hold duration
I have a table that lists the history of stock transaction (extract attached). I require assistance to find out how long I've he...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
Divide by every N rows
I am trying to perform the following calculation, but every 52 rows the denominator needs to change from (1,1) to (52,1) then (1...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Add String to Matlab Plot Annotation
I am trying to add an annotation to a plot that uses a variable from the workspace. I have used the below code, but the only out...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Ranking values - sorting into descending order
I have a that for each row (i) ranks the column values. However, it ranks them in the ascending order. I require it to be ranked...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
For loop to multiple columns
I have the following block of code: %RSI Calculation n = [14:2:18]; for i = 1:n gainC = diff(ABC).*((diff(ABC))> 0); ...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
Python function to Matlab
I have the following moving average function developed in Python3 that I need to convert into MATLAB. However, I can't seem to f...
3년 초과 전 | 답변 수: 4 | 0
4
답변질문
Finding the difference in timeseries values
If I have the below timetable, how do I find the difference between values? Diff() doesn't work. I've tried diff(TableName.Varia...
3년 초과 전 | 답변 수: 3 | 0
3
답변질문
Setting Arguments using VarFun & RSIndex
Due to the layout of my timetable data, I am required to use the following code when trying to calculate the rsindex(): %Set RS...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Using Diff() with NaN values
I am trying to find the difference between rows using the diff() function. However, because the rows contain NaN values I am get...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Error using movmax index
I need to find the number of periods since a stock price recorded an 14-day high. My proposed method was to use the following an...
거의 4년 전 | 답변 수: 1 | 0