Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quotient, Remainder

Status
Not open for further replies.

emp519

Mechanical
Aug 25, 2004
12
I am new to matlab and this might be a silly question. Is there a command in matlab to obtain the quotient and remainders of two numbers. when I looked up on google the results showed quotient, remainders for polynomials. I am just looking for numbers. I could try to write a logical statement but wanted to know if there is a direct command. Thanks in adavance.
Joe
 
Replies continue below

Recommended for you

Either "rem" or "mod" should do what you want.

M

--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor