Skip to main content
6 votes
Accepted

Aligning Conditional Controls in Manipulate

Use Apply[Sequence] instead of Flatten: ...
kglr's user avatar
  • 397k
5 votes
Accepted

Phase response curve

The phase information follows from the optimal trigonometric approximation (fundamentals of FourierSeries) ...
Ulrich Neumann's user avatar
4 votes
Accepted

Send plain text out through a COM port (such as Labview, MATlab, Python or even a terminal emulator)

The Wolfram Documentation has extensive examples of writing to serial ports https://reference.wolfram.com/language/ref/device/Serial.html You would try something along the lines of ...
Joshua Schrier's user avatar
4 votes

Phase response curve

...
Bob Hanlon's user avatar
  • 159k
3 votes
Accepted

Asymptotic Output Tracking: Code Issues

Updated answer Use the chain rule and express $f'[t]$ in terms of $x'[t]$. Then the two equations can be solved for $x'[t]$ and $H'[t]$. AffineStateSpaceModel (...
Suba Thomas's user avatar
  • 8,766
3 votes
Accepted

Changing the quality of the transient process in a nonlinear system (in Mathematica)

You might try to play with the parameters using Manipulate. Like this, for example, ...
Alexei Boulbitch's user avatar
2 votes

How to respond to password prompt with StartProcess?

I ran into a similar issue on a mac when trying to install some compiled code. This code prompts the user for a password if asked: ...
arturju's user avatar
  • 41
1 vote

Comparison of NDSolve and Asymptotic Output Tracking results: Problem identified

It looks like you gave a constant reference $r_1$ to AsymptoticOutputTracker. I also increased the decay rate $p_1$ for it to converge faster. With essentially ...
Suba Thomas's user avatar
  • 8,766

Only top scored, non community-wiki answers of a minimum length are eligible