Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Komal Gaikwad
Komal Gaikwad am 16 Feb. 2018
Kommentiert: Komal Gaikwad am 17 Feb. 2018
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

Antworten (1)

KSSV
KSSV am 16 Feb. 2018
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 Kommentare
Image Analyst
Image Analyst am 16 Feb. 2018
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.
Komal Gaikwad
Komal Gaikwad am 17 Feb. 2018
thank you so much all of you.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by