# liu James

Last seen: plus de 4 ans il y a Actif depuis 2016

Followers: 0   Following: 0

All

#### Feeds

Afficher par

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...

environ 7 ans il y a | 1 réponse | 0

### 1

réponse

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...

environ 7 ans il y a | 2 réponses | 0

### 2

réponses

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...

environ 7 ans il y a | 2 réponses | 0

### 2

réponses

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 ...

environ 7 ans il y a | 1 réponse | 0

### 1

réponse

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...

environ 7 ans il y a | 1 réponse | 0

### 1

réponse

A résolu

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:...

environ 7 ans il y a

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...

plus de 7 ans il y a | 1 réponse | 0

### 1

réponse

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...

plus de 7 ans il y a | 1 réponse | 0

### 1

réponse

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))...

plus de 7 ans il y a | 1 réponse | 0

### 1

réponse

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 ...

plus de 7 ans il y a | 1 réponse | 0

### 1

réponse

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...

plus de 7 ans il y a | 1 réponse | 0

### 0

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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 '...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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) ...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 3 réponses | 0

### 3

réponses

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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. ...

presque 8 ans il y a | 1 réponse | 0

### 0

réponse

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...

presque 8 ans il y a | 2 réponses | 0

### 2

réponses

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'...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 3 réponses | 0

### 3

réponses

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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...

presque 8 ans il y a | 1 réponse | 0

### 1

réponse

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=...

presque 8 ans il y a | 1 réponse | 0

réponse