Data from polar plot into frequency domain???
1 view (last 30 days)
Show older comments
Hi,
I have coordinates of boundary of a picture (x,y) converted into polar plot (theta,rho) and now I need to work with data rho in frequency domain. Could someone advise how to do it, please? Here is my code and pictures:
BW=im2bw(I);
BWH=imfill(BW,'holes');
BWE=edge(BWH,'canny');
boundaries=bwboundaries(BWE);
b=boundaries;
x=b(:,2);
y=b(:,1);
% cartesian plot
X=x-mean(x);
Y=y-mean(y);
THETA=X;
RHO=Y;
[THETA,RHO]=cart2pol(X,Y);
% polar plot
RHO1=smooth(RHO,10); % smoothing data
plot(RHO1);
I need to analyze wave (max and min amplitude, wavelength) and I thought that it would be the best in frequency domain or not? And maybe I need apply fft for data..
Thanks in advance!
0 Comments
Answers (0)
See Also
Categories
Find more on Spectral Measurements 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!