mutt
Mulvaney Capital Management
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 1
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
What is the difference between the effect of clear and clearvars?
What is the difference between the effect of clear and clearvars?
12 years 前 | 4 个回答 | 4
4
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0