Community Profile

MathWorks Fixed Point Team

MathWorks

Last seen: Today Attivo dal 2017

All

Content Feed

Visto da

Risposto
FAQ: Why is a fixed-point type's Fraction Length or Integer Length sometimes negative?
Maximizing precision for limited bits The ability to have a negative fraction lengths or a negative integer lengths is a very g...

24 giorni fa | 0

| accettato

Domanda

FAQ: Why is a fixed-point type's Fraction Length or Integer Length sometimes negative?
Sometimes fixed-point variables have fraction lengths that are negative. a = 5.6632765314184e+15 aFi = fi(a,1,4) curFractionL...

24 giorni fa | 1 risposta | 0

1

risposta

Domanda

Why does fi signed plus unsigned produce needless range bits?
When adding signed and unsigned fi variables with the default full-precision settings, sometimes the output type has needless ra...

circa un mese fa | 1 risposta | 0

1

risposta

Inviato

Deep Learning Toolbox Model Quantization Library
Quantize and Compress Deep Learning models

Domanda

How can I use int64 and uint64 with my Simulink S-function?
How can I use int64 and uint64 with my Simulink S-function?

10 mesi fa | 1 risposta | 0

1

risposta

Domanda

Why does Simulink's Weighted Sample Time block sometimes use fixed-point data types for its output?
In Simulink, I want to get the sample time of a signal and use that value in other calculations. The Weighted Sample Time block ...

11 mesi fa | 1 risposta | 0

1

risposta

Domanda

How can I use fractional data types when the values are beyond the interval [-1, +1) ?
Many references describe implementing fixed-point designs using fractional data types. These signed fractional data types repres...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda

FAQ: Why aren't boolean and 1 bit unsigned integers treated as the same data type?
Variables and signals of the boolean data type (called logical in MATLAB) only represent the values 0 and 1. Variables and sign...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda

Best practices for converting MATLAB code to fixed point
I have tried to use fixed-point data types (i.e. fi) for MATLAB code. Are there any best practices for this process?

circa 2 anni fa | 1 risposta | 0

1

risposta

Inviato

Fixed-Point Made Easy for FPGA Programming
Material used in the "Fixed-Point Made Easy for FPGA Programming" webinar.

Domanda

Some forms of Simulink logging write 64 bit integers as fi objects. Does that mean I need a Fixed-Point Designer license?
I've observed that some forms of logging in Simulink write integer variables out to MATLAB as fi objects. For example, DSP Bina...

circa 2 anni fa | 1 risposta | 0

1

risposta

Risposto
How can I use custom constraints for fxpopt?
fxpopt workflow allows user to automatically assign fixed-point data types on a system by trying a basic trial and error loop. ...

circa 2 anni fa | 0

| accettato

Domanda

How can I use custom constraints for fxpopt?
I am trying to use fxpopt with custom constraints and I cannot figure out how to do it. I am trying to have optimization be base...

circa 2 anni fa | 1 risposta | 0

1

risposta

Risposto
Why is matlab fixed pint arithmetic so slow?
Hi, There are two aspects to speed that you may be concerned about. The first is the speed of generated code running on your e...

oltre 2 anni fa | 0

Risposto
fixed point to the power 0 changes word length
fi's element-wise power a.^b https://www.mathworks.com/help/fixedpoint/ref/embedded.fi.power.html is not designed to give t...

oltre 2 anni fa | 0

Risposto
How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?
Simulink provides two ways to show hex and binary of signals, Display Block, and Simulink Value Display (yellow boxes). To do t...

oltre 2 anni fa | 0

| accettato

Domanda

How do I show the hex or binary representation for an integer or fixed-point signal in Simulink?
When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Risposto
How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?
Use of MATLAB's format command and/or Fixed-Point Designer's fipref object can be use to achieve hex display, binary display, or...

oltre 2 anni fa | 0

| accettato

Domanda

How do I show the hex or binary representation for an integer or fixed-point variable in MATLAB?
When designing or debugging integer or fixed-point algorithms, there are many cases where it is helpful for the display of value...

oltre 2 anni fa | 1 risposta | 1

1

risposta

Risposto
Internal error in deep neural network quantification?
To avoid a ‘coder.internal.getSupportedLayerTypes’ error on creation of a dlquantizer object, install the ‘GPU Coder Interface ...

oltre 2 anni fa | 0

Risposto
How can I export ranges from the Fixed-Point Tool to an excel sheet?
Currently (as of 20a) there is no way to automatically export data you see in the spreadsheet. Nevertheless you can use the Comm...

oltre 2 anni fa | 0

| accettato

Domanda

How can I export ranges from the Fixed-Point Tool to an excel sheet?
I would like to export the range information I see on the spreadsheet of the Fixed-Point Tool to an excel sheet to share with my...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Risposto
What does the shared simulation range mean in the Fixed-Point Tool?
The Fixed-Point Tool collects ranges and proposes data types by data type groups rather than individual blocks. A Data type gr...

circa 3 anni fa | 0

| accettato

Domanda

What does the shared simulation range mean in the Fixed-Point Tool?
I am using the Fixed-Point Tool to propose data types and I see that my signal has the specified design range, but it also has a...

circa 3 anni fa | 1 risposta | 0

1

risposta

Risposto
What does this mean and how can I get rid of it ?

circa 3 anni fa | 0

Risposto
Wrong conversion from double to fixed point
Hello, you can try to use any of the Fixed-Point designer workflows to achieve this task. Please find attached a script that u...

circa 3 anni fa | 2

Risposto
Where can I find some introductory material for Fixed Point?
The following resources provide a good overview of the basic concepts for you to get started with fixed-point: These resources...

circa 3 anni fa | 2

| accettato

Domanda

Where can I find some introductory material for Fixed Point?
Are there some useful resources to get started with fixed-point basic concepts?

circa 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Wrap/Saturate on overflow
I think it’s important to understand if these overflows are a concern in the context of the numerical behavior of your control a...

circa 3 anni fa | 4

Risposto
How to use derived ranges for gain and constant blocks using derive range analysis?
In this scenario, your parameter is not considered as tunable and therefore treated as an invariant constant. So the design rang...

circa 3 anni fa | 2

| accettato