0

Root Locus Method in MATLAB

Posted by Papa_Smurf on Oct 13, 2009 in Control Systems, MATLAB

To start out, setup the open loop transfer function.

Next, you can choose to set up the MATLAB code in a few different ways. First make sure that both the numerator and denominator are in acceptable forms.
[1 2 3] is the same as saying
Using an example:

We can write the numerator and denominator MATLAB codes as:
>>numerator=[1];
>>denominator=[1 8];
For a more complex [...]

Tags: , ,

 
0

Vector Dot Product

Posted by Jeff on Sep 8, 2009 in Calculus, Electromagnetic Theory, MATLAB, Math, Physics, Statics

Another simple review of the vector dot product, for those of you that have forgotten.  The operation that involves multiplying two vectors together can be done in a few ways.  The first operation is called either the scalar product or the dot product.  One of the well known definitions looks like this:
RULE 1:
This is [...]

Tags: , , , , ,

 
0

Adding and Subtracting Vectors

Posted by Jeff on Sep 8, 2009 in Calculus, Dynamics, Electromagnetic Theory, MATLAB, Math, Physics, Statics

This is a very simple post and a very simple subject, but every once in a while even the experts need to be reminded how to do simple addition and subtraction with vectors.  Let’s go ahead and specify a couple vectors that we can work with.
Vector
In MATLAB: >>A = [1 2 4];
Vector
In MATLAB: [...]

Tags: , ,

 
0

Volume of Ellipsoid – MATLAB

Posted by Jeff on Aug 31, 2009 in Calculus, MATLAB

This is how you calculate the volume of an ellipsoid with the following equation.

rmax = 1;
V = 0;
step = 0.02;
A = 5;
B = 10;
C = 15;
for x= -5 : step : 5
for y = -10 : step : 10
for z = -15 : step : 15
if((x/A).^2 + (y/B).^2 + (z/C).^2) < rmax
V = V + [...]

Tags: , , ,

ballssmall
 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up

Copyright © 2010 EngineerSphere.com All rights reserved .
Sitemap      Jeff Schuler