pls explain me the star marked lines,i m not getting that

2 次查看(过去 30 天)
function fltimg_Callback(hObject, eventdata, handles)
% hObject handle to fltimg (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global im_n;
global im;
global im_sz;
global d;
WIN_sz=21; ******************
ln=floor(WIN_sz/2);
A_mat=zeros(1,256); **************
%%in the code there is not declared WIN_sz abd A_mat

回答(1 个)

KSSV
KSSV 2018-2-16
WIN_sz=21; % Variable WIN_sz is assigned value 21
ln=floor(WIN_sz/2);
A_mat=zeros(1,256); % A matrix/vector A_mat is initialized with zeros
  4 个评论
Image Analyst
Image Analyst 2018-2-16
zeros() is a function. Click in it and type F1 to bring up help and it will tell you what all the input arguments mean.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by