Occur
Statement: strLetterCounter('string')....where, 'string' is an input string containing alphabet or numbers.Ex: string='aaaaaaaabbbbbbccd'Statement: strLetterCounter(string)Output: '8a,6b,2c,1d'Note: This function is different from the Matlab function called 'unique' because it keeps the order in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): String Letter Counter Function Download |
For several different reasons it could occur that we need to produce a signal from the sum of several harmonic components. In the usual case of Fourier analysis, FFT and IFFT are likely the best choice. However it could happen that:- The frequencies of the harmonic components are unevenly spaced-...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Sum of harmonics Download |
Maximum length sequence assuming distinctvalues = baseVal^powerVal-1 [ms]=mseqSearch(powerVal,baseVal) OUTPUT: ms: generated maximum length sequence, of length basisVal^powerVal-1 such that all values occur with equal frequency=basisVal except zero, which occurs basisVal-1 times INPUT: baseVal:...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): m-sequence generation program using a search algorithm Download |
How do bacteria find their way to the food ? many biological systems use the chemo-taxis algorithm to improve their conditions and hence, their chance to survive. Chemo-taxis in general refers to movement influenced by chemical properties of the medium. In this model, we have a group of...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (43): Taxi - movement of bacteria to the food Download |
GMR returns the gyromagnetic ratio and other NMR properties for various nuclei as well as the electron.Besides the function format, the command format will work as well, e.g. "gmr Na23 hzpt 3.0".Format: y=gmr(nucleus,unit,b0) "nucleus" = string or number specifying the nucleus (not case...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Gmr.m (NMR & MRI Properties) Download |
This is a highly experimental code that serves to explore the possible deterministic/algorithmic origin of vacuum fluctuations and ZPE.The core idea is based on an initially reversible cellular automaton which is documented in the reference given in the first Help lines of the code. The present...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): CA QUASI-PARTICLES WITH SPIN Download |
S=wiki(str) returns the Wikipedia article for string 'str' S=wiki returns a random Wikipedia article For most articles the parsing is done almost correctly, however there may be minor parsing errors that may occur in the output. Suggestions to improve the code and/or parsing are welcome, with...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Read Wikipedia articles Download |
This m-file performs the conditional as well as the Chi-squared corrected for discontinuity McNemar's exact test for two dependent (correlated) samples that can occur in matched-pair studies with a dichotomous (yes-no) response. Dependent samples can also occur when the same subject is measured...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): McNemarextest Download |
Function BUTTERFLY (named after the strategy shown on the screenshot) aims to help students and instructors of finance visualize payoffs of simple option strategies. The function allows constructing a portfolio of n < 9 securities, including a (zero-dividend) stock, a (zero-coupon) bond, a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Visualize payoffs of an option strategy Download |
Fast, fully vectorised version of the Simpson's method for 3D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than triplequad. Examples are provided within the code. Useage: ans =...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): 3D Simpson's Integrator Download |
The function dec2nary performs all successive expansions in all bases below decimal [9, 8, ..., 2]. Limitations occur due to the absence of an Inf. Precision Module in this version. More in the Guide file
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (42): Expansion to all base alphabets below decimal Download |
GlobalTrends- Homogeneity tests for multiple seasons and stations. This function will test for trends when seasonality is present and over multiple observation stations, all of which are Chi-square statistics. There are so many statistical tests being done, this function is more like a script or...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Homogeneity test of Global Trends using Chi-Square on Mann-Kendall Download |
usage: output=insertNaN(data,threshold);INPUTS: data - vector/matrix data which will be checked for gaps threshold - threshold value to distinguish where NaN's are placed in the dataOUTPUTS: output - input data, with NaN values inserted where differences exceeded the requested threshold Example...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): insertNaN Download |
Usage: [mfTutteMap] = TutteMap(mnTriangulation)Maintaining the existing triangulation, this function maps a surface mesh onto a planar unit circle. Tutte's algorithm [1] is used. The simple technique for finding point locations is from [2].'mnTriangulation' is an Nx3 array as returned by...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Compute a Tutte map of a planar surface triangulation Download |
this project correct the error which occur in the previous project One of the most disadvantages of continues radar system that it cannot calculate range because the time of transmitting the signal is unknown so we used one of communication system techniques that is frequency modulated wave...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (44): Developed FM-CW Radar approach Download |
Argument tab-completion occur when the user presses the key following the function name in the Command Window. The list of available/possible arguments is then presented in a popup window. TABCOMPLETE modifies the [matlabroot '/toolbox/local/TC.xml'] file to set/unset the tab-completion...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): TabComplete Download |
% function ynew=adsmoothdiff(dados,xnew,sdx,isdx,q,nmin)% written by Carlos J Dias%% ADAPTIVE DEGREE SAVISTZKY-GOLAY SMOOTHING AND DIFFERENTIATION% This function smooths and differentiates a sequence of numbers based on% an algorithm drawn on the ideas of Savistky and Golay and Barak.% There are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): ADAPTIVE DEGREE SMOOTHING AND DIFFERENTIATION (Scipts) Download |
Create images with diffraction-limited spots of varying size and intensity, with noise.Tristan UrsellMarch 2012Create an image with randomly positioned, diffraction-limited spots with full data on actual spot positions and parameters. Useful for testing a spot finding...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Create a Simulated Image of Diffraction Limited Spots with Noise Download |
The function OutcomeSequence.m solve brain teasers such as:1. You toss a coin, what is the expected number of tosses for you to get the sequence 'Tails-Heads-Tails' ?2. You throw a dice, what is the expected number of throws for you to get the sequence '1, 2, 3, 2, 1' ?3. You randomly hit your...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Brain Teaser Solver Download |
Fast, fully vectorised version of the Simpson's method for 2D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than dblquad.Examples are provided within the code.Useage:ans = simp2D('func',xs,xe,ys,ye,NX,NY)Input...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): 2D Simpson's Integrator Download |