This M-File extends MATLAB's inbuilt dec2bin() and bin2dec() functions functionalities. When you enter a floating point number as 25.757 you expect to get the correspoing binary number and vice versa.Feel free to make corrections. But make reference to me where needed(laugh).
Hello. Where can i see the code. Thank you
Sorry @the cyclist, you supposed to call the f_d2b function.
I'm confused. The output of d2b(5.9) is 101.9.
please make me watch the file
f_d2b has been made shorter
f_b2d.m has been made simpler.
I have made the f_b2d rather shorter. Taken the for loops and used the 'find' function effectively.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.