Script to find the root locus - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Script to find the root locus (/thread-11863.html) |
Script to find the root locus - rushfan - 11-27-2018 04:56 PM The root locus part of the Control Systems program in this forum does not work. I wrote a little script that can generate the root locus of a system, with instructions on how to plot. With thanks to members @ThomasA and @Tim Wessman for suggestions on how to properly plot it. Here is the code: Code:
RE: Script to find the root locus - parisse - 11-29-2018 08:41 AM Inside CAS, point(proot(polynomial)) will display the list of roots of a polynomial. For several polynomials you can create an empty list l and run l:=concat(l,(proot(..)) inside the loop and run point(l) after the loop. RE: Script to find the root locus - rushfan - 12-02-2018 03:59 PM (11-29-2018 08:41 AM)parisse Wrote: Inside CAS, point(proot(polynomial)) will display the list of roots of a polynomial. For several polynomials you can create an empty list l and run l:=concat(l,(proot(..)) inside the loop and run point(l) after the loop. That works better, thanks! Code:
RE: Script to find the root locus - chandlerkc - 03-30-2019 03:27 PM It surprisingly works on the PC emulator but not on the physical calculator!! Error: Execute evaluator not recursive RE: Script to find the root locus - chandlerkc - 03-31-2019 07:56 PM Take a look what I've got on the calc: But in the emulator It runs nicely, I don't know why. |