photo

Cary


The Pelican Group

Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

MATLAB Answers

36 Questions
4 Réponses

RANG
34 563
of 300 753

RÉPUTATION
1

CONTRIBUTIONS
36 Questions
4 Réponses

ACCEPTATION DE VOS RÉPONSES
50.0%

VOTES REÇUS
1

RANG
 of 21 075

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 170 858

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


In/out signal from vector
Imagine I have the following vector: 0 0 0 0 0 1 1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 1 1 The si...

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

1

réponse

Question


Pulling my hair out over this simple for loop! Please help!
I keep getting the "subscripted assignment dimension mismatch" error. My variables are: ia1=[79;91;94] ia2=[80;103;95] ...

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

2

réponses

Question


Help with simple probability calculation (loop?)
I have a 2-column matrix that looks like this: 30 1 30 1 30 1 30 1 30 1 29 0 29 ...

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

1

réponse

Question


Struct variables don't save
I have various matrices and I'd like them to be part of a struct. Each matrix is computed on its own, assigned to the struct, th...

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

1

réponse

Question


For loop assignment problem
I have a struct with 85 fields. I want to copy data from the fields into a matrix called "one". Here is my code: one=nan(85...

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

1

réponse

Question


Why is this plot deleted?
As soon as I get to set(gca) the plot disappears. If I continue I get the date formatted tick labels but I don't show any plot. ...

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

1

réponse

Question


For loop combo troubles
I have the following code: When i switches to 2 how can I make j pickup where it last left off (non-nan)? For example, when i is...

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

1

réponse

Question


How can I have a timer continue after an error?
Here is script A: t = timer; t.Period = 10; t.TasksToExecute = inf; t.ExecutionMode = 'fixedRate'; t.TimerFcn =...

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

2

réponses

Question


Use timer to run script every ten seconds
I have a script that I want to execute automatically every ten seconds indefinitely until I tell it to stop. The script is calle...

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

1

réponse

Question


Need consulting on datafeed toolbox/event handling
If there's anyone out there who knows how to operate this thing, please contact me for consulting. No one at Mathworks seems to ...

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

0

réponse

Question


Countdown timer continuously running
I am trying to figure out the best approach to this so I appreciate your thoughts. I'm running a model that uses the number of m...

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

1

réponse

Question


IQFeed - viewing multiple securities simultaneously?
Is this possible? If so IQFeed/Matlab have made it impossible to figure out.

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

0

réponse

Question


Can Spreadsheet Link EX handle real-time data?
I have an RTD datafeed streaming into excel. I want to import this feed into Matlab. As the data from the RTD feed changes, will...

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

0

réponse

Question


Fixing a for loop that's 90% correct
On the first pass through k, everything is fine. But when k=2, x=2, so my subscript index is starting with 2, not 1. If I change...

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

0

réponse

Question


Overcoming 'index exceeds matrix dimensions' without changing methodology of code
This matrix below is a 25x7 matrix. Basically what I'm doing is taking a start date and an end date, and adding 1 to the start d...

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

1

réponse

Question


Creating an efficient for loop
for i = 1:length(startIdx) for j = 1:length(date(startIdx(i):cutoffIdx(i))) k = date(startIdx(i):cutoffIdx(i...

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

1

réponse

Question


Find elements in cell array (logical 0 or 1)
I have a cell column vector of stock symbols that are all three letters long. I need to create a column vector of the same lengt...

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

1

réponse

Question


Union WITH repetitions - indices for both
How can this be achieved? I am trying to index trading days and calendar days so I can match the two together. Here is my code: ...

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

1

réponse

Question


Focus plot and apply correct tick labels
Good Evening Everyone, I'd much rather be asking you about Bayesian analysis over this, but unfortunately, I am terrible with...

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

1

réponse

Question


Trouble with calculating mean of historical data
I wrote a function that calculates the mean price of the last 15 mins of the trading day. In the attached excel file I get a mea...

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

1

réponse

Question


Short function taking 20+ minutes to run
I'm using a Xeon quad-core processor with 64GB of RAM. The program running the function only has 89 data points. It's now been o...

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

1

réponse

Question


How to encompass a half-hour block of time?
The code below finds the index of every timestamp at 3:30. timeStr=cellstr(datestr(time)); timeDbl=datevec(timeStr); ...

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

1

réponse

Question


Find the Monday preceding the third Friday of the month
Ok, I have data spanning numerous years, and part of my analysis requires me to know the Monday that precedes the third Friday o...

plus de 10 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
Find index between two vectors
Thank you Azzi!

plus de 10 ans il y a | 0

Question


Find index between two vectors
Good Afternoon, I have a matrix of datevecs. So it looks like this: 2015 1 1 14 59 0 2015 1 1 15 0 0 I need to fin...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


Why won't this for loop move to the next variable?
On the first pass, everything is fine. i = 49, j = 1, k = 1112. On the second pass, i and j move to the next variables (50 and 1...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


Nested for loop troubles
Hi Everyone, I am having difficulty troubleshooting a nested for loop. Things work fine on the first pass (when i=49) but bre...

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

1

réponse

Question


Financial toolbox required for excel to matlab date conversion?
This blows my mind. I have to import dates from an excel spreadsheet and the only way I can convert them to usable dates is by b...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Question


Find index in each column of a matrix using for
Good evening, I am attempting to find the index of the last non-NaN for each column in a matrix. I can't really get it to wor...

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

1

réponse

Question


Find the index of the last numeric element of a column including NaNs
I have a column with many rows that has data in the middle surrounded by NaNs. For example, below is an abbreviated version of w...

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Charger plus