This code demonstrates how to convert a dynamical multi input multi output (MIMO) system from state space form to Transfer function form. Here you can provide the A, B, C, D matrices describing the dynamics of your system (or use function rss() to generate a random system). Then you can the transfer function matrix for the MIMO system. Same concept can be very easily applied to SISO system. Please note that you can pretty much find most of...
Translate is a powerful string function that can create groups of characters and convert one set of characters to another. We'll describe the basic pieces of translate, and how to use that to look for string in a binary file. For example, if you...
Let the input to this function be X, an m x n matrix. Also, let Y be the output. This function does the following.
Y(:,i) = X(:,i) - mean(X(:,i)), for i = 1 to n
A patch for PHP to allow function parameter type hinting of scalar types. Current types include int, float, bool, string, num (int or float), scalar (all of the above), resource, and object (matches any object).
Guessing Game is a great example to people that are learning how to use function pointers, pointers in general, learning how the rand() function work.
This function simplifies partial fraction expansion and outputs a single, easy-to-read function, rather than residue.
To use this program enter the following in the command window:
g = (z^2-9)/(z^2-1);
Example in screenshot generated by:
There are a few improvements I want to make to this function; hopefully I have time to do so. At this point, you may have to...
Easy to use function. Let's you save the current figure as an image file. A pop-up dialog prompts user where to save the image and what image compression to use. Default dpi is 300. User can specify dpi and whether to use default size or current...
This function can be used to
1) Personalise your photographs
2) Add signatures to your photographs
The input to this function are two pictures -
Input 1: your photograph
Input 2: your signature
Note : 1)...
Progressive Function Point Estimation Workbook in excel to provide Function Point Analysis with greater accuracy for real time project estimation.
Include ability to estimate both function point count, cost and schedule estimate...