1234567891011121314151617181920212223242526272829303132333435363738 |
- clear all
- %%
- load('GradientMap_03_06.mat');
- aa = zeros(size(GM.x));
- aa( GM.x > 40 & GM.y > 0 ) = 1.3;
- aa( GM.x > 40 & GM.y <= 0 ) = -1.3;
- figure;
- imagesc(aa);
- colorbar
- %%
- r = 0.01;
- [aa_x, aa_y] = pol2cart(aa, r*ones(size(aa)));
- GM.px = aa_x;
- GM.py = aa_y;
- %%
- figure('color', 'w', 'position', [200, 200, 1200, 500])
- subplot(1, 2, 1);
- imagesc(aa_x);
- colorbar
- title('aa x')
- subplot(1, 2, 2);
- imagesc(aa_y);
- colorbar
- title('aa y')
- clear aa aa_x aa_y
- %%
- save( 'GradientMap_Pepo_Pyramidal.mat' );
|