Guy on Simulink

Simulink & Model-Based Design

Posts 11 - 16 of 16

結果: Numerics

Round-off Error

Loren recently posted a simple example of how single-threaded computations might produce different results from multi-threaded computations.  The cause is floating-point round off, and most people... 続きを読む >>

Floating-Point Numbers 6

Numeric simulation is all about the numbers. In a previous post, I talked about integer and fixed-point number representations. These numbers are especially useful for discrete simulation... 続きを読む >>

How do I test for NaN in Simulink R2009b? (NEW!) 2

Back in February 2009 I posted about how to test for NaN in Simulink.  The approach I talked about was more of a logical experiment based on the special properties of NaN than an... 続きを読む >>

Refining the Output of a Simulation 9

Today I am pleased to share a post from regular guest blogger, Guy Rouleau.  Enjoy! I often use Simulink to model the dynamics of simple systems. In most cases, the Simulink default... 続きを読む >>

How do I test for NaN in my model? 8

This week I want to pose a brainteaser that my colleague Jeff had to solve this week.  Imagine you need to detect the condition where a signal value might become NaN (Not A Number).  How do... 続きを読む >>

Representing Numbers: Integers and Fixed-Point

In embedded systems, computation time and memory are critical resources.  Floating-point calculations require special floating-point units for efficient computation and this translates to... 続きを読む >>

Posts 11 - 16 of 16