Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
need help for commands used in coding
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
[A,B]=xlsread('ground','Sheet1');
Ip=A(:,3);
Vp=A(:,6);
Vs=A(:,9);
dV=(Vp-Vs);
plot(Ip,dV)
%axis([-50 50 -300 300])
axis off
saveas(gcf,'A1.jpg')
a=imread('A1.jpg');
imshow(a)
c=rgb2gray(a);
imshow(c)
count=0;
for i= 1:900
for j= 1:1200
if c(i,j)>1
if c(i,j)<220
count=count+1;
end;
end;
end;
end;
display(count)
this is the code for which I need help ,I am not able to understand how the coding is done ,please help me to understand the coding...
2 comentarios
Walter Roberson
el 7 de Mzo. de 2014
Could you be more specific about which parts you do not understand?
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!