Use Matlab to:
Create a function that accepts two numbers as input and returns 1 if the second divides the first, and 0 otherwise.
◦Bonus points if you make the function work with matrix inputs (and give a matrix output).
1
Expert's answer
2011-10-18T08:24:50-0400
function a= divide(x,y) a = 1-min(mod(y,x),1); end
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment