photo

mutt


Mulvaney Capital Management

Last seen: 3 years ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How do I extract a vector of results from a map?
Suppose: X=[1 3 4 7 14]; Y=[0.4 6.2 5.1 0.9 3.8]; myMap=containers.Map(X,Y); I can write myMap(4) and get the expected...

12 years ago | 1 answer | 1

1

answer

Question


Series generated by recursive formula
Suppose each value in a series depends on its immediate predecessor, say, x(n) == j*x(n-1) + k*y(n) What is the most effici...

12 years ago | 2 answers | 0

2

answers

Question


Performance using temporary boolean filter
In a situation where I need to use a logical filter (simply a vector of logical) 3 times in succession, am I likely to get a per...

12 years ago | 2 answers | 0

2

answers

Question


For loop versus Matrix notation
Can this be simplified to use a matrix expression instead of a for loop?: X=[1 5.4; 1 6.3; 2 4.8; 3 7.1]; dates=X(:,1); ...

12 years ago | 1 answer | 0

1

answer

Question


What is the difference between the effect of clear and clearvars?
What is the difference between the effect of clear and clearvars?

12 years ago | 4 answers | 4

4

answers

Question


Multi-level indexing
Given: screen(1).position = [1 2; 3 4]; screen(1).size = [5 6; 7 8]; screen(2).position = [11 12; 13 14]; screen(2).size = [...

13 years ago | 1 answer | 0

1

answer

Question


Matrix Indices Problem
Given a matrix e.g. A = [0 1 2 0 0; 0 3 4 5 0; 6 7 8 9 10; 0 0 0 11 0] what MATLAB code will generate a vector of the colu...

13 years ago | 2 answers | 0

2

answers