-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0b9907
commit 006b9e7
Showing
16 changed files
with
205 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Computer-Aided Control System Design: zgrid</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script> | ||
<script type="text/javascript" async | ||
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML"> | ||
</script> | ||
<style> | ||
var { | ||
font-style: italics; | ||
font-weight: bold; | ||
} | ||
td { | ||
vertical-align: top; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="bg-dark"> | ||
<div class="container-xl"> | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href=index.html> | ||
<img src="assets/control.png" alt="control" class="d-inline-block align-top" width="25" height="25"> | ||
Computer-Aided Control System Design | ||
</a> | ||
<button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="navbar-nav"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="index.html#Frequency Domain Analysis"> | ||
<i class="fas fa-list-alt"></i> | ||
Frequency Domain Analysis | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="https://gnu-octave.github.io/packages/"> | ||
<img src="assets/octave-logo.svg" alt="GNU Octave logo" class="d-inline-block align-top" width="25" height="25"> | ||
Octave Packages | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="https://www.octave.org"> | ||
<i class="fas fa-home"></i> | ||
GNU Octave website | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</div> | ||
<div class="container-xl my-4"> | ||
<div class="card rounded"> | ||
<div class="card-header card-header-mod"> | ||
<div class="row d-flex flex-wrap align-items-center"> | ||
<div class="col-sm-3 col-md-5 mb-2 mb-sm-0"> | ||
<h3 class="d-inline-block mr-2"> | ||
Function Reference: <b><code>zgrid</code></b> | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<dl> | ||
<dt><u>Function File:</u> <b>zgrid</b></dt> | ||
<dt><u>Function File:</u> <b>zgrid</b><i> on</i></dt> | ||
<dt><u>Function File:</u> <b>zgrid</b><i> off</i></dt> | ||
<dt><u>Function File:</u> <b>zgrid</b><i> (<var>z</var>, <var>w</var>)</i></dt> | ||
<dt><u>Function File:</u> <b>zgrid</b><i> (<var>hax</var>, …)</i></dt> | ||
</dl> | ||
<p> Display an grid in the complex z-plane. | ||
</p> | ||
<div class="ms-5"> | ||
<p> Control the display of z-plane grid with : | ||
</p><ul> | ||
<li> zeta lines corresponding to damping ratios and | ||
</li><li> omega lines corresponding to undamped natural frequencies | ||
</li></ul> | ||
|
||
<p> The function state input may be either <code>"on"</code> or <code>"off"</code> | ||
for creating or removing the grid. If omitted, a new grid is created | ||
when it does not exist or the visibility of the current grid is toggled. | ||
</p> | ||
<p> The zgrid will automatically plot the grid lines at nice values or | ||
at constant values specified by two arguments : | ||
</p> | ||
<table><tr><td> </td><td><pre class="example"> zgrid (<var>Z</var>, <var>W</var>) | ||
</pre></td></tr></table> | ||
|
||
<p> where <var>Z</var> and <var>W</var> are : | ||
</p><ul> | ||
<li> <var>Z</var> vector of constant zeta values to plot as lines | ||
</li><li> <var>W</var> vector of constant omega values to plot as circles | ||
</li></ul> | ||
|
||
<p> Example of usage: | ||
</p><table><tr><td> </td><td><pre class="example"> zgrid on create the z-plane grid | ||
zgrid off remove the z-plane grid | ||
zgrid toggle the z-plane grid visibility | ||
zgrid ([0.3, 0.8, …], [0.25*pid, 0.5*pi, …]) create: | ||
</pre><table><tr><td> </td><td><pre class="example"> </pre><ul> | ||
<li><pre class="example"> zeta lines for 0.3, 0.8, … | ||
</pre></li><li><pre class="example"> omega lines for 0.25*pi/T, 0.5*pi/T, … [rad/s] | ||
</pre></li></ul> | ||
<pre class="example"> </pre></td></tr></table> | ||
<pre class="example"> zgrid (<var>hax</var>, <code>"on"</code>) create the z-plane grid for the axis | ||
handle <var>hax</var> | ||
</pre></td></tr></table> | ||
|
||
<p> <strong>See also: </strong> | ||
grid, | ||
<a href="sgrid.html">sgrid</a> | ||
</p> | ||
<p><strong>Source Code: </strong> | ||
<a href="https://github.com/gnu-octave/pkg-control/tree/main/inst/zgrid.m">zgrid</a> | ||
</div> | ||
<div class="container-xl my-4"> | ||
<div class="card rounded"> | ||
<div class="card-header card-header-mod"> | ||
<div class="row d-flex flex-wrap align-items-center"> | ||
<div class="col-sm-3 col-md-5 mb-2 mb-sm-0"> | ||
<h3 class="d-inline-block mr-2"> | ||
Example: 1 | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<div class="container bg-light"> | ||
<div class="row"> | ||
<table><tbody><tr> | ||
<td> </td> | ||
<td><pre class="example"> | ||
|
||
clf; | ||
num = [1 0.25]; den = [1 -1.5 0]; | ||
sys = tf(num, den, 1); | ||
rlocus(sys,0.01,0,3.5); | ||
ylim([-1.1,1.1]); | ||
zgrid on; | ||
|
||
</pre></td></tr></tbody> | ||
</table> | ||
<div class="text-center"> | ||
<img src="assets/zgrid_101.png" class="rounded img-thumbnail" alt="plotted figure"> | ||
</div><p></p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |