Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
ATN Site Builder 3.0
Azizi search engine script PHP 4.1.10
IcrediBB Bulletin Board System 1.0
Vue Injector 3.3
DBForms from MSAccess to PHP+PostgreSQL 1.0.0
Guestbook PHP Script 1.1
School College ERP 1.3.2
Simple Comments Script 0.930
WSN Guest Script 1.22
JE Guestbook 1.1
ATN Resume Finder 2.0
Cover Flow FX 0.2.12
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Repeated Values 1.0
File ID: 81528






Repeated Values 1.0
Download Repeated Values 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
Repeated Values 1.0 Description
Description: REPVAL Repeated Values
repval(X) finds all repeated values for input X, and their attributes.
The input may be vector, matrix, char string, or cell of strings

Y=repval(X) returns the repeated values of X

[RV, NR, POS, IR]=repval(X) returns the following outputs
RV : Repeated Values (sorted)
NR : Number of times each RV was repeated
POS : Position vector of X of RV entries
IR : Index of repetition

Example:
X=[1 5 5 9 5 5 1];
[RV,NR,POS,IR]=repval(X)

Output:
RV = [1 5]; %Numbers '1' and '5' are repeated values
NR = [2 4]; %Respectively repeated 2 and 4 times
POS = [1 7 2 3 5 6]; %Position index of X for repeated values
IR = [1 1 2 2 2 2]; %Corresponding to which index of RV

Vectors
[RV,NR,POS,IR]=repval([1 2 2 3 2 2 1])

Matrix (repeated rows)
[RV,NR,POS,IR]=repval([1 2; 3 4; 1 2; 1 3; 3 4])

Char String
[RV,NR,POS,IR]=repval('abracadabra')

Cell of Strings
[RV,NR,POS,IR]=repval({'bat','cat','car','bar','bat','car'})

License: Shareware

Related: rvnrposir drepvalx, output, numbers, repetition, Position, entries, Index

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0



More Similar Code

Trims leading/trailing repeated values of a series of numbers

TRIMREPLT(IN) Single input syntax
- In : numeric vector/2D matrix

TRIMREPLT(IN, DIM) Trims along the dimension specified by dim
- dim : scalar, numeric and integer value (or empty)
1 --> trims columnwise (DEFAULT)
2 --> trims row-wise

TRIMREPLT(IN, DIM, MODE) Which side to trim
- mode : char (or empty)
'l'...



an perform a mixed-model ANOVA on simple designs with one between-subjects factor and one within-subjects (repeated-measures) factor and either display a results table or simply return the values within.

See comments at top of file for...



Find sequences of repeated (adjacent/consecutive) numeric values. Finds sequences of NaNs and Infs too.

SYNTAXES:
(1) FINDSEQ(A) Find sequences of repeated numeric values in A along the first non-singleton dimension. A shuld be a...



Values selected from the drop-down box appear in the text area below.

As more items are selected they are added to the list.



You've probably seen this feature inside the comment forms of blogs, where a checkbox lets you specify whether to remember the values of certain text fields and recall them later. Well, this script adds such a feature to any form! The script...



finding co ordinate values of RGB imagas well as the gray level image.... n finding some other relevent information



this code will be helpful for finding the co-ordinate values of any gray level...

some other result can also be obtained with this code , these are...
1..finding max histogram
2..finding min histogram
3..finding the...



slicing image with background using 2 threshold values



Read and Write Values from and to the Registry using Matlab.

Contains: source code and documentation.

September 13, 2006



Set nominal values for/group a dataset by specifying a fraction which determines how far away from the original value a nominal value can be.
Ex: A set of velocity data:
v = [0 9.03, 0.1, 5.2, 0.101, 0.095, 5.01,0, 9, 4.9, 9.2, 8.9,...

User Review for Repeated Values
- required fields
     

Please enter text on the image