Last change
on this file since 4 was
4,
checked in by zhangj, 11 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
471 bytes
|
Line | |
---|
1 | function idAuxCommonVector(Vector1, Vector2) |
---|
2 | % NOT FINISHED!!!! |
---|
3 | N1=length(Vector1); |
---|
4 | N2=length(Vector2); |
---|
5 | |
---|
6 | for i=1:N1-1 |
---|
7 | if (Vector1(i)>Vector1(i+1)) |
---|
8 | fprintf ('Error in ''idAuxCommonVector'' : Vector1 must be increasing monotonic\n'); |
---|
9 | return |
---|
10 | end |
---|
11 | end |
---|
12 | for i=1:N2-1 |
---|
13 | if (Vector2(i)>Vector2(i+1)) |
---|
14 | fprintf ('Error in ''idAuxCommonVector'' : Vector2 must be increasing monotonic\n'); |
---|
15 | return |
---|
16 | end |
---|
17 | end |
---|
18 | if (Vector1(1)<Vector2(1) |
---|
19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.