|
Mechanics of Defect Evolution Library
|
Go to the source code of this file.
Functions | |
| figure (1) clf hold on pcolor(X | |
| f | plot ([a(1) b(1)],[a(2) b(2)], 'k') axis equal num1 |
| figure (2) clf hold on pcolor(X | |
Variables | |
| close all clear all clc | a |
| t =(b-a)/norm(b-a) | |
| N =50 | |
| Ax =ones(N,N)*a(1) | |
| Ay =ones(N,N)*a(2) | |
| Bx =ones(N,N)*b(1) | |
| By =ones(N,N)*b(2) | |
| Tx =ones(N,N)*t(1) | |
| Ty =ones(N,N)*t(2) | |
| x =[0:N-1]/(N-1) | |
| y =[0:N-1]/(N-1) | |
| num =(Bx-X).*Tx+(By-Y).*Ty+sqrt((Bx-X).^2+(By-Y).^2) | |
| den =(Ax-X).*Tx+(Ay-Y).*Ty+sqrt((Ax-X).^2+(Ay-Y).^2) | |
| f =log(num./den) | |
| Y | |
| den1 =-(Bx-X).*Tx-(By-Y).*Ty+sqrt((Bx-X).^2+(By-Y).^2) | |
| f1 =log(num1./den1) | |
| figure | ( | 1 | ) |
| figure | ( | 2 | ) |
| close all clear all clc a |
Definition at line 5 of file testStraightExp.m.
Definition at line 10 of file testStraightExp.m.
Definition at line 11 of file testStraightExp.m.
Definition at line 12 of file testStraightExp.m.
Definition at line 13 of file testStraightExp.m.
Definition at line 22 of file testStraightExp.m.
Definition at line 33 of file testStraightExp.m.
| f =log(num./den) |
Definition at line 23 of file testStraightExp.m.
| f1 =log(num1./den1) |
Definition at line 34 of file testStraightExp.m.
| N =50 |
Definition at line 9 of file testStraightExp.m.
Definition at line 21 of file testStraightExp.m.
Definition at line 14 of file testStraightExp.m.
Definition at line 15 of file testStraightExp.m.
Definition at line 17 of file testStraightExp.m.
| f1 Y |
Definition at line 28 of file testStraightExp.m.
Definition at line 18 of file testStraightExp.m.