Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Aug 25, 2004
Messages
12
Location
US
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
 
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

Back
Top