function y = round_ten_thou(x)
y =round(x,-4) ;
end
function y = round_3_d_p(x)
y =round(x,3) ;
end
function y = your_fcn_name(x)
for i=1:length(x)
if rem(x(i),1)==0
x(i)=1;
else
x(i)=0;
end
end
y=x;
end
function y = round_x(x)
y = ceil(x);
end
function y = round_x(x)
y = floor(x);
end
function y = round_x(x)
y = round(x);
end
function y = round_zero(x)
y = fix(x);
end
function flag = isTherePythagoreanTriple(a, b, c, d)
flag = any(a^2+b^2==d^2|a^2+c^2==d^2|c^2+b^2==d^2|a^2+b^2==c^2);
end
function flag = isRightAngled(a, b, c)
flag=any(a^2+b^2==c^2);
end
function [width, length] = findRectangleDimensions(x)
width = x/sqrt(10);
length= width*3;
end