Revision history for OctaveFixedPointToolbox


Revision [11021]

Last edited on 2010-07-24 21:16:17 by ToBo
Additions:
===Beispiel mit Fixed-Point===
1-Bit für das Vorzeichen (lässt sich in der Toolbox unter Octave nicht anders einstellen, unsigned ist nicht möglich)
2-Bit für Fraktion
===Beispiel mit q15===
q15 ist eine Fixed-Point-[[ZahlenRepraes Zahlenrepräsentation]]
1-Bit für das Vorzeichen
15-Bit für Fraktion
a = fixed(0,15,1/3)
a*a
===q31 geht nicht===
q31 ist eine Fixed-Point-[[ZahlenRepraes Zahlenrepräsentation]]
1-Bit für das Vorzeichen
31-Bit für Fraktion
a = fixed(0,31,1/3)
error: Wrong fixed point size
error: fixed: failed to create fixed point number
Funktioniert nicht!
Deletions:
===Beispiel Fixed-Point===
2-Bit für Fraction


Revision [11014]

Edited on 2010-07-24 20:25:26 by ToBo
Additions:
=====Octave Fixed Point Toolbox=====
Experimente mit der Version 0.7.10
Im Gegensatz zu [[OctaveIntegerArithmetic Integer-Arithmetik]] sind auch Matrix-Multiplikationen implementiert.
===Beispiel mit einem 4-Bit-Integer===
%%(matlab)
a = fixed(4,0,0); % 4 Bit, No decimal, initial 0
e = fixed(1);
for i=1:30
a=a+e
disp(a)
end
%%
===Beispiel Fixed-Point===
4-Bit für Integer (signed)
2-Bit für Fraction
%%(matlab)
a = fixed(4,2,3.75)
%%
Schrittweite 0.25 bei 2-Bit-Fraktionen
Deletions:
=====Titel=====


Revision [11013]

The oldest known version of this page was created on 2010-07-24 20:21:31 by ToBo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki