As part of any well designed Model Based Design work-flow, you need to ensure that you get the expected results from your simulation. You might want to evaluate the effect... read more >>
As part of any well designed Model Based Design work-flow, you need to ensure that you get the expected results from your simulation. You might want to evaluate the effect... read more >>
/* Publisher style MATLAB code */ pre.codeinput { background: #EEEEEE; padding: 10px; } @media print { pre.codeinput {word-wrap:break-word; width:100%;} } span.keyword {color:... read more >>
Occasionally I get questions about how to build, modify, and add blocks, to Simulink models using MATLAB commands. In this post, I will to give a basic overview of the common... read more >>
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... read more >>
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... read more >>
When you are new to something, it always helps to get a mental picture of how that something works. Since I learned Simulink over 10 years ago, I have developed my own mental model of Simulink... read more >>
Balaji Kalluri asked a question in the comments of a post about the MUX block. Balaji asked: Hi All I would be highly obliged, if someone can show me a route to model a typical ... read more >>
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... read more >>
If you are like me, you read the doc, a lot. I am often clicking on the help just to verify my understanding of a function’s syntax, or the behavior of a block. That is why I wasn’t surprised to... read more >>
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... read more >>