مشكور مهندس سعود
هذا الكود بعد ما دمجته مع الربط
بس طلع فيه خطأ وما تنفذ
[LEFT][SIZE=1][COLOR=purple]clc[/color][/size]
[SIZE=1][COLOR=purple]clear[/color][/size]
[SIZE=1][COLOR=purple]clear all[/color][/size]
[SIZE=1][COLOR=purple]for d=1:10[/color][/size]
[SIZE=1][COLOR=purple]name=strcat('image',int2str(d),'\image',int2str(d),'.jpg');[/color][/size]
[SIZE=1][COLOR=purple]im=imread(name); [/color][/size]
[SIZE=1][COLOR=purple]for w=1:21[/color][/size]
[SIZE=1][COLOR=purple] if w<=10[/color][/size]
[SIZE=1][COLOR=purple]im=imresize(im, [200 200]);[/color][/size]
[SIZE=1][COLOR=purple]im=imread (strcat('image11\',int2str(d),'\image00', int2str(w),'.jpg'));[/color][/size]
[SIZE=1][COLOR=purple] elseif w<=21[/color][/size]
[SIZE=1][COLOR=purple]for ee=350:360[/color][/size]
[SIZE=1][COLOR=purple]im=imread(strcat('image11\',int2str(d),'\image', int2str(ee),'.jpg'));[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size]
[SIZE=1][COLOR=purple] end[/color][/size]
[SIZE=1][COLOR=purple] end[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size]
[SIZE=1][COLOR=purple]for u=1:220[/color][/size]
[SIZE=1][COLOR=purple]im=imresize(im, [200 200]);[/color][/size]
[SIZE=1][COLOR=purple]i=double(im);[/color][/size]
[SIZE=1][COLOR=purple]id=i(:);[/color][/size]
[SIZE=1][COLOR=purple]m=mean(id);[/color][/size]
[SIZE=1][COLOR=purple]sgma=std(id);[/color][/size]
[SIZE=1][COLOR=purple]v=var(id);[/color][/size]
[SIZE=1][COLOR=purple]k=kurtosis(id);[/color][/size]
[SIZE=1][COLOR=purple]sk=skewness(id);[/color][/size]
[SIZE=1][COLOR=purple]md=median(id);[/color][/size]
[SIZE=1][COLOR=purple]f1=i(:,:,1);[/color][/size]
[SIZE=1][COLOR=purple]f2=i(:,:,2);[/color][/size]
[SIZE=1][COLOR=purple]f3=i(:,:,3);[/color][/size]
[SIZE=1][COLOR=purple]h1=imhist(f1);[/color][/size]
[SIZE=1][COLOR=purple]h2=imhist(f2);[/color][/size]
[SIZE=1][COLOR=purple]h3=imhist(f3);[/color][/size]
[SIZE=1][COLOR=purple]k1=size(h1);[/color][/size]
[SIZE=1][COLOR=purple]u=0;[/color][/size]
[SIZE=1][COLOR=purple]u1=0;[/color][/size]
[SIZE=1][COLOR=purple]u2=0;[/color][/size]
[SIZE=1][COLOR=purple]for i=1:k1[/color][/size]
[SIZE=1][COLOR=purple]u=u+h1(i).^2;[/color][/size]
[SIZE=1][COLOR=purple]u2=u2+h3(i).^2;[/color][/size]
[SIZE=1][COLOR=purple]u1=u1+h2(i).^2;[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size]
[SIZE=1][COLOR=purple]uniform=u;[/color][/size]
[SIZE=1][COLOR=purple]uniform1=u1;[/color][/size]
[SIZE=1][COLOR=purple]uniform3=u2;[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size]
[SIZE=1][COLOR=purple]for z=1:10[/color][/size]
[SIZE=1][COLOR=purple]aa={name};[/color][/size]
[SIZE=1][COLOR=purple]aa1=cell({'ghlaa','eman','mona','nuha','majdah','maha','farah','reem','abrar','bodoor'});[/color][/size]
[SIZE=1][COLOR=purple]aa2=cell({'Management','Accountings','Engineering','Maintenance','Blueprints','Security','Indentures and Purchases','Projects','Affairs of Staffers','Inspecting and Vetting on Products'});[/color][/size]
[SIZE=1][COLOR=purple]aa3=cell({'Manager','Staffer','Manager of Dept','Staffer','Assignee','Monitored','Staffer','Manager','Secretary','Staffer'});[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size]
[SIZE=1][COLOR=purple]a={'name of image','name','Department','job','m','sgma','v','k','sk','md','uniform','uniform1','uniform3';aa(z),aa1(z),aa2(z),aa3(z),m,sgma,v,k,sk,md,uniform,uniform1,uniform3};[/color][/size]
[SIZE=1][COLOR=purple]for i=1:230[/color][/size]
[SIZE=1][COLOR=purple]x=a;[/color][/size]
[SIZE=1][COLOR=purple]first=strcat('A',num2str(i));[/color][/size]
[SIZE=1][COLOR=purple]xlswrite('results',x,'sheet1',first)[/color][/size]
[SIZE=1][COLOR=purple]end[/color][/size][/left]
لا اعلم ما الخطأ
ثانيا: شو Aالموجوده داخل strcat (السطر شو فايدته)
مشكوووووووور جدا على المساعده والله يجازيك كل خير