# User Portlet

Featured Contributor

Discussions |
---|

There's a bug in computing the default frequency range. This is a workaround. NyquistPlot[gLT, {-3, 3}, PlotPoints -> 200, MaxRecursion -> 10] ![enter image description here][1] [1]:... |

Cool example. Using the Routhian and the constant generalized moment of the angle as a state instead of the generalized velocity, the equations will have another state that is constant. Since the measurement is the angle and not its generalized... |

There is an issue with how TransferFunctionModel is handling these expressions. A workaround to get the series connection would be TransferFunctionModel[Map[Together, tfMimo[s] . tfMatrix[s], {2}], s] |

*MODERATOR NOTE: This is the notebook used in the livestream "Control Systems: An Overview" on Wednesday, April 26 -- a part of Wolfram R&D livestream series announced and scheduled here: https://wolfr.am/RDlive. Subscribe to [**@WolframRD**]... |

Hello! I'm excited to present an overview of control systems tomorrow! I'll start with the very basics, namely ordinary differential and difference equations, because control systems can be considered as the analysis and manipulation of such... |

As pointed out, the matrices can be obtained using Normal. tfm = TransferFunctionModel[(2*s + 3)/(s^2 + 0.4*s + 1), s]; ssm = StateSpaceModel[tfm]; {a, b, c, d} = Normal[ssm]; MatrixForm /@ {a, b, c, d} ![enter image... |

Neil, 1. The behavior of "" is documented in a couple of places: https://reference.wolfram.com/language/ref/RootLocusPlot.html#1516150156 and https://reference.wolfram.com/language/ref/PoleZeroMarkers.html#991509519. I now think it may be a good... |

You can explicitly see that the closed-loop system has 2 unstable poles In[25]:= csys = SystemsModelFeedbackConnect@tf; TransferFunctionPoles[csys][[1, 1]] // N Out[26]= {-4.47411, 1.23705 - 3.2464 I, 1.23705 + 3.2464 I} Or... |

You should evaluate DeviceOpen[...] only after uploading the code using MicrocontrollerEmbedCode[...]. (Or evaluate DeviceClose[...] before evaluating MicrocontrollerEmbedCode[...]). Otherwise MicrocontrollerEmbedCode cannot connect to the mcu to... |

Thanks for pointing that out. You can avoid the manual operations with some additional functions. The following will create a file and open it using the Arduino IDE. dir = CreateDirectory[FileNameJoin[{$HomeDirectory, "Demo"}]]; ... |