matlab function
Parameter Function 1.0
I wrote this function after going through the process of changing my get variables to form variables, then back, and then to cookie variables, once too many. This simple yet practical function will read in your scripts parameters regardless of how they more>> I wrote this function after going through the process of changing my get variables to form variables, then back, and then to cookie variables, once too many. This simple yet practical function will read in your scripts parameters regardless of how they are passed.<<less
Clear Screen Function 1.0
This function uses the Windows API to clear a console screen, and is useful for when the standard system("cls") is unavailable. more>> This function uses the Windows API to clear a console screen, and is useful for when the standard system("cls") is unavailable.<<less
PERL replace function
This is a simple script that shows how to create a Replace Subroutine and call it from a script more easily by supplying 3 parameters EX: &Replace($FullString, $SearchThis, $ReplaceWithThis), similar more>> This is a simple script that shows how to create a Replace Subroutine and call it from a script more easily by supplying 3 parameters EX: &Replace($FullString, $SearchThis, $ReplaceWithThis), similar to the VBScript function.<<less
Countdown Function
Countdown Function is an ASP countdown tool. more>> Countdown Function provides users with an ASP countdown function. It will return a value similar to this: 2 days 10 hrs and 11 mins.<<less
Copy To Clipboard function
This script is pretty self explanatory. Pass a string to the copyToClipboard function and it will be placed into the clipboard so you can paste it into other programs. more>> This script is pretty self explanatory. Pass a string to the copyToClipboard function and it will be placed into the clipboard so you can paste it into other programs.<<less
Javascript Date Function
Both the date and time is accessed from the Javascript Date() function. Learn the basics of this functions to add simple date and time information to your website. more>> Both the date and time is accessed from the Javascript Date() function. Learn the basics of this functions to add simple date and time information to your website.<<less
matlab mep
mep creates epochs (0|1) in a logical array according to a list of indices (begin:end). more>> matlab mep is a program that helps with creating epochs (0|1) in a logical array according to a list of indices (begin:end).
Creates - completely vectorized - a logical array/vector with epochs/intervals set to according to a list of indices of the form:
begin = [b1 b2 ... bN]
end = [e1 e2 ... eN]
where s and s may overlap or be included within each other.
lvec=[b1:e1 b2:e2 ... bN:eN]
itself can be used to retrieve/assign values from a numerical construct, eg,
vec(1,2,lvec)=nan;
help mep
vix = mep(v,ixb,ixe)
vix = mep(v,[ixb;ixe])
to create epochs
returns in VIX a array with epochs set to
true: ixb(1)->ixe(1) ... ixb(N)->ixe(N)
false: otherwise
correctly handles epoch overlaps/inclusions/reversals
v: vector (to size VIX, is not changed)
ixb: list of indices BEGIN epoch
ixe: list of indices END epoch
% examples
z=zeros(1,10);
vix=mep(z(1,:),[1 5],[3 10]);
z(1,vix)=1
% 1 1 1 0 1 1 1 1 1 1
z=zeros(1,10);
vix=mep(z(1,:),[2 3 2 6 9],[2 3 4 7 10]);
z(1,vix)=1
% 0 1 1 1 0 1 1 0 1 1
z=----------;
vix=mep(z,[[1 3 6];[4 4 8]]);
z(vix)=
% - --
Requirements: MATLAB Release: R13
getServer Path (function)
a simple function that returns the path to folder in which script subsides. Valuable in producing php programs that will be distributed randomly and require absolute paths. Just call this function and more>> a simple function that returns the path to folder in which script subsides. Valuable in producing php programs that will be distributed randomly and require absolute paths. Just call this function and it will return everything up to the current folder. An example use is $serverPath = getServerPath(); $serverPath .= nameOfPageToBeRequested;<<less
Functions in C++
In this tutorial we will be studying a bit of Functions in C++ Language. more>> Functions in C++ is a convenient application which helps you be dealing with how to define, declare, pass and return values in a C++ Function. Functions forms the most important part of computer programming. Also be dealing a bit with the Friend Function.<<less
Implied Default Probability Function
Implied Default Probability Function is to calculate the implied default probability from the DOC model. more>>
Implied Default Probability Function is an excellent helper for Matlab users, which is designed to calculate the implied default probability from the DOC model.
Major Features:
- Function output
- Default probability (%)
- Function inputs:
- Barrier level (%)
- Market value of the firms assets (%)
- Continuously compounded riskless rate of interest (%)
- Asset volatility (%)
- Firms lifespan (years)
Requirements:
- MATLAB 6.5 (R13)
Digg.com style navigation function 1.0
Very flexible and easy to integrate function, witch prints navigation links in digg.com style. You can customize links template. more>> Very flexible and easy to integrate function, witch prints navigation links in digg.com style. You can customize links template.<<less
Censoring Function 1.0
This simple script checks to see if any of the words in the cuss word file are in a variable and replaces them with something like F*** (f-word). more>> This simple script checks to see if any of the words in the cuss word file are in a variable and replaces them with something like F*** (f-word).<<less
VBScript Examples : DatePart Function 1
DatePart function is a very useful function to get the a part of a date. You may get year, month, day of year .. etc. of a specific date. more>> DatePart function is a very useful function to get the a part of a date. You may get year, month, day of year .. etc. of a specific date.<<less
Examples of the preg_match function 1.0.3
The preg_match function of Php is often used and the online script here includes few examples which can be implemented in any code. There is an online demo. The code will be updated regularly. - just added a preg_match_all example more>> The preg_match function of Php is often used and the online script here includes few examples which can be implemented in any code. There is an online demo. The code will be updated regularly. - just added a preg_match_all example<<less
PHP Function Finder 1.0
PHP Function Finder provides quick and easy access to the PHP.net function database. This is a must have time saving tool for every Windows loving PHP developer. more>> PHP Function Finder provides quick and easy access to the PHP.net function database. This is a must have time saving tool for every Windows loving PHP developer.<<less