truncation

Version 1.0.0.0 (1.06 KB) by shreedhar
this program truncates a given number
332 Downloads
Updated 9 Dec 2010

View License

any floating point number is separated into two parts i) integer ii)floating point
for ex if x=-12.93 the program gives -12 and .93 as the two outputs
format:[p,q]=truncate(x);
where x is a floating point number

Cite As

shreedhar (2024). truncation (https://www.mathworks.com/matlabcentral/fileexchange/29653-truncation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Time Series Objects in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0