۱۳۹۵/۱۲/۲۸, ۱۰:۴۷ ب.ظ
سلام بله درسته سوال قبلی که از شما پرسیدم به تنهایی جواب نمیده ولی وقتی در اخر تابع هایی که نوشتم رو فراخوانی میکنم ارور میده اینم اخر برنامس . واسه pباید یه عدد بده که نمیده و میگه که RCM811رو اشتباه نوشتی
Output argument "t1" (and maybe others) not assigned
during call to "rcm811".
close all
m=0;
for i = 1:10000000
t1 = rcm811(4);
t2 = rcm812(3);
t3 = rcm813(2);
t4 = rcm814(4);
t5 = rcm815(3);
p=[t1+t3+t5 t2+t4+t5];
if max(p)<=8
m=m+1;
end
end
m;
A=(m/10000000)
Output argument "t1" (and maybe others) not assigned
during call to "rcm811".
close all
m=0;
for i = 1:10000000
t1 = rcm811(4);
t2 = rcm812(3);
t3 = rcm813(2);
t4 = rcm814(4);
t5 = rcm815(3);
p=[t1+t3+t5 t2+t4+t5];
if max(p)<=8
m=m+1;
end
end
m;
A=(m/10000000)