Community Profile

photo

liu James


Last seen: 4 years ago Active since 2016

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


how to add increments to time
Is there a way to fill timetable time column continuously? Currently, the time table data have one column of times, where the ti...

6 years ago | 1 answer | 0

1

answer

Question


financial time series time with milliseconds
I'm trying to create and merge two financial time series, but I'm getting an issue where it seems to truncate the overall number...

6 years ago | 2 answers | 0

2

answers

Question


strcmp isn't comparing properly
I'm having trouble figuring out why the strcmp is providing an incorrect output when comparing PSymbol and symbol. The two cells...

6 years ago | 2 answers | 0

2

answers

Question


how to skip and not add to matrix
When performing an intersect function there will be times where the value of D=[] since it doesn't exist in date2. In this case ...

7 years ago | 1 answer | 0

1

answer

Question


find intersect of a column against another column and extracting rows
I'm trying to compare two tables A & B and find intersections of the time within one column of A against the time column of B an...

7 years ago | 1 answer | 0

1

answer

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question


Help with Linear Regression
I'm trying to conduct a simple linear regression fitting using fitlm, but the results that is provided when I plot the curve wit...

7 years ago | 1 answer | 0

1

answer

Question


how to find files in a directory with a list of strings froma a matrix
I have a matrix with a few list of characters and I'm trying to find the files with similar name in a directory to load. I can't...

7 years ago | 1 answer | 0

1

answer

Question


Error and can't find whats causing index exceed matrix dimension
I'm getting this: Index exceeds matrix dimensions. Error in Test3 (line 51) if (status == 0) && (a(1) > a(2))...

7 years ago | 1 answer | 0

1

answer

Question


Having trouble getting this find work properly
I have two cell arrays where the first one is time converted into serial date and the second cell array (bb) which has specific ...

7 years ago | 1 answer | 0

1

answer

Question


How to conduct Row Extraction across different Columns of arrays?
I have a 1x34 array where the columns have different nx7 arrays. In the nx7, column 7 are serial date num. This is a 2 part ques...

7 years ago | 0 answers | 0

0

answers

Question


How to index in an array from one cell to another cell column wise?
Help, I have an array that is 1x34; however once expanded it becomes some nx6 array. I would like to loop through each column an...

7 years ago | 1 answer | 0

1

answer

Question


Can't figure out this debugging error
I'm getting this error: Error: File: strategy.m Line: 146 Column: 4 The function "nonEmptyNum2Cell" was closed with an '...

7 years ago | 1 answer | 0

1

answer

Question


how to plot all the loops one one graph
I have this loop written, but its providing an error at the same time and not providing all the graphs. for i=1:length...

7 years ago | 1 answer | 0

1

answer

Question


Loop not providing the right answer
Help, the calculation provides 0 for all cells. why calling the formula on the command line it provides the right answer for the...

7 years ago | 1 answer | 0

1

answer

Question


Error in Loop in a loop
I'm getting this error Cell contents reference from a non-cell array object. Error in setParam (line 86) ...

7 years ago | 1 answer | 0

1

answer

Question


How to find the max of a cell of a cell array
I'm having issues finding the max of TR4. It's stating that max is undefined. for s=1:34 TR1{s}=abs((prices{1,3}{1,s}(2...

7 years ago | 3 answers | 0

3

answers

Question


How to index into a multi layer cell?
I have a 1x34 cell name low and within each cell there is a 1079x1 cell. I would like to grab a number from cell 2 of 1x34 and r...

7 years ago | 1 answer | 0

1

answer

Question


Help explain a code
Can someone help explain a portion of a code? I understand that strcmp is comparing two items, but within the whole structure of...

7 years ago | 1 answer | 0

1

answer

Question


Can't figure out why it displays undefined function or variable while the variable is defined earlier.
Help, I'm getting this error Undefined function or variable 'globalStart'. This function is defined earlier in the script. ...

7 years ago | 0 answers | 0

0

answers

Question


How to import multiple .m files
Is there a simple loop or so to call multiple files and extract the sub structures from it where all .m files have the same subs...

7 years ago | 2 answers | 0

2

answers

Question


Undefined function 'quorem' for input arguments of type 'double'
I'm getting this error when I run the file. The quorem seems to be a function when I search in help so I don't understand why I'...

7 years ago | 1 answer | 0

1

answer

Question


How to exclude the center/current number when performing movmax?
Im trying to create the Donchian Channel which uses the preceding 20day high. So I figure to use movmax but it includes the curr...

7 years ago | 3 answers | 0

3

answers

Question


How to calculate moving average excluding current data?
How to calculate moving average to not include current data for the current period. For example, I'm trying to create the Donchi...

7 years ago | 1 answer | 0

1

answer

Question


Help!!! Can't figure out this error
I'm getting this error when I run the plot. "There is no DatetimeTickFormat property on the Line class." I'm trying to have x ax...

7 years ago | 1 answer | 0

1

answer

Question


Why am I getting this Error during plot
I'm getting this error. "There is no DatetimeTickFormat property on the Line class." I'm trying to have x axis show the dates ra...

7 years ago | 1 answer | 0

1

answer

Question


How to perform moving average?
How do I calculate the moving average of an array? For instance I want to average 20 points in a list of say 100 points in a dat...

7 years ago | 1 answer | 0

1

answer

Question


cell/vector operation to replace excel operation
I'm trying to convert simple math operations that can be done in excel into matlab language/script. Basically I'm trying to perf...

7 years ago | 1 answer | 0

1

answer

Question


How to translate excel coding into matlab?
I'm having hard time figuring out how to write an operation for this which I can do in excel. N1=sum(h4:h23)/20, N2=...

7 years ago | 1 answer | 0

1

answer