How to build a rotationally symmetric mask?
Show older comments
Hi everyone, suppose I have 'p' given by a generalized Gaussian function and want to make a rotationally symmetric mask of it (i.e. a 2d square). Any easy way?
%_____________________________________________
x = -6:0.01:6;
alfa=2; beta=10; mean=0;
p=(beta/(2*alfa*gamma(1/beta))).*exp(-((abs(x-mean)/alfa).^beta));
plot(x,p)
Accepted Answer
More Answers (0)
Categories
Find more on Antennas and Electromagnetic Propagation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!