Community Profile

photo

mutt


Mulvaney Capital Management

Active since 2011

Statistics

  • Thankful Level 2

View badges

Content Feed

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

meer dan 8 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...

meer dan 8 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); ...

meer dan 8 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?

meer dan 8 jaar ago | 3 answers | 2

3

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

ongeveer 10 jaar ago | 2 answers | 0

2

answers