photo

mutt


Mulvaney Capital Management

Last seen: ongeveer 3 jaar 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...

meer dan 11 jaar 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...

bijna 12 jaar 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...

bijna 12 jaar 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); ...

bijna 12 jaar 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?

bijna 12 jaar 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 = [...

ongeveer 13 jaar 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...

meer dan 13 jaar ago | 2 answers | 0

2

answers