2.0

2.0 | 1 rating Rate this file 56 downloads (last 30 days) File Size: 3.47 KB File ID: #18102

Radial Scan

by Narupon Chattrapiban

 

22 Dec 2007 (Updated 26 Dec 2007)

No BSD License  

Get radial scan of a matrix

Download Now | Watch this File

File Information
Description

Get radial scan of a matrix using the following procedure:
[1] Get coordinates of a circle around an origin.
[2] Average values of points where the circle passes through.
[3] Change radius of the circle and repeat [1] until rprofile is obtained.

% For DEMO, run
% >> rscan_qavg();
% or
% >> rscan_qavg('demo','dispflag',0);
% >> plot(ans);
% or
% >> rdat = rscan_qavg();
% >> plot(rdat);
% or
% >> a = peaks(300);
% >> rscan_qavg(a);
% >> rscan_qavg(a,'rlim',50,'xavg',100);
% >> rscan_qavg(a,'rlim',25,'xavg',100,'dispflag',1,'dispflagc',1);
% >> rscan_qavg(a,'rlim',25,'xavg',100,'dispflag',1,'dispflagc',1, ...
% 'squeezx',0.7,'rot',pi/4);
%
% Draw Circle:
% [ref] http://www.mathworks.com/matlabcentral/fileexchange/
% loadFile.do?objectId=2876&objectType=file

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Draw a circle.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
02 Jan 2008 Amit Shachaf

The comments are not sufficient to understand what propose of the code.
It is very important to document clearly what the code is doing and what is the benefit.

Thanks - Amit

07 Mar 2008 saif shloul

can this code help me if i have an alpha a character i need tht to use it in hand wriiting recognation
plz send me i need your help

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
radial Narupon Chattrapiban 22 Oct 2008 09:40:14
scan Narupon Chattrapiban 22 Oct 2008 09:40:14
profile Narupon Chattrapiban 22 Oct 2008 09:40:14
2d Narupon Chattrapiban 22 Oct 2008 09:40:14
ellipse Narupon Chattrapiban 22 Oct 2008 09:40:14
image Narupon Chattrapiban 22 Oct 2008 09:40:14
circle Narupon Chattrapiban 22 Oct 2008 09:40:14
matrix Narupon Chattrapiban 22 Oct 2008 09:40:14
radial Elena Marchini 08 Jul 2009 11:35:23
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com