Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.073.258 Times

SUB2IND4UP Linear index from subscripts of upper triangular matrix (only elements above diagonal) 1.0

  Date Added: July 06, 2013  |  Visits: 337

SUB2IND4UP Linear index from subscripts of upper triangular matrix (only elements above diagonal)

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



IND = SUB2IND4UP(I, J) returns the linear index equivalent to the row and column subscripts I and JLet ind be a vector of indexes for entries of some upper triangular matrix. The entries are selected vertically so that: ind = 1 is associated to entry (1, 2) ind = 2 is associated to entry (1, 3) ind = 3 is associated to entry (2, 3) ind = 4 is associated to entry (1, 4) ... ind = N * (N - 1) / 2 is associated to entry (N - 1, N)***********************************************************************EXAMPLEIf A = rand(10);and b = A(find(triu(A, 1)));then, given subscripts I = [1:9];and J = [2:10];for matrix A, these are equivalent to indices IND = sub2ind4up(I, J);for vector b. In fact: all(A(sub2ind(size(A), I, J)) == b(IND)')ans = 1This is obtained without even knowing about size(A)***********************************************************************See also SUB2IND, IND2SUB, FIND.

Requirements: No special requirements
Platforms: Matlab
Keyword: Afindtriua Allasub Indsizea Ind Ind Upi Indices Obtained Rand
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


SUB2IND4UP LINEAR INDEX FROM SUBSCRIPTS OF UPPER TRIANGULAR MATRIX (ONLY ELEMENTS ABOVE DIAGONAL) RELATED
Development Tools  -  IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) 1.0
[I, J] = IND2SUB4UP(IND) returns vectors I and J containing equivalent row and column subscripts corresponding to the index vector IND.Let ind be a vector of indexes for entries of some upper triangular matrix. The entries are selected vertically...
10 KB  
Development Tools  -  k indexes from 1:n 1.0
http://simulations.narod.ru/Using:ind=all_combinations(n,k)Number of all posible variants is nv=C(n,k)=n!/(k!*(n-k)!) (binomial coefficient)ind is nv-by-k matrix. Example, 2 indexes from 1 2 3:all_combinations(3,2)ans = 1 2 1 3 2 3Example 3 from...
10 KB  
Miscellaneous  -  Permutation order indices 1.1
Given a list, this script finds the indices used to get the elements from the list in sorted order.
 
Terminals and Telnet Clients  -  CryptoTerm 1.3
CryptoTerm is the package consisting of following programs: Terminal Emulator, FTP (SFTP) Client and Batch FTP (SFTP) Client. CryptoTerm package allows to obtain a uniform, unified and intuitive access to diversified system environments -...
9.74 MB  
Text Management  -  Indices of a SubString in a Given String 1.1
This script uses string.index(sub) function which returns a list of indices of ALL occurances of a substring in the string.
 
Communication  -  F10.7 Solar Flux & Ap Indices 1.0
Appreciable errors in MSIS00 modeled temperatures can occur for altitudes above 75 km if solar flux and magnetic indices deviate significantly from their default values. This routine automatically downloads needed solar flux and magnetic indices...
10 KB  
Development Tools  -  Cummulative (dim 2) products across all permutations of distinct column-indices 1.0
CUMmulative PRODucts across All Permutations of Distinct Column-IndicesThis function returns the cumulative sum over products of column elementswith all permutations of unique and distinct column-indices.The sum excludes automatically products...
10 KB  
Development Tools  -  Bibliometrics: the art of citations indices 1.0
Actually, every researcher come to terms with his/her bibliometricperformance. There are many software to compute these indices, like Publish or Perish or Google Scholar. Anyway, these softwares require an additional work like to identify the...
10 KB  
Development Tools  -  Nested logical indexing 1.0
NESTED Nested logical indexingOUT = nested(IN) returns the final result of a list of nested logical indices. If IND_1 is a logical array and IND_(n+1) is a logical array of those that are TRUE within IND_(n) then nested(IND1,IND2,...) produces the...
10 KB  
Development Tools  -  Miller Indices of Cubic Crystals 1.0
millerind() is a graphical user interface that gives a simple method to view and understand the underlying princples behind the Miller indices of a cubic crystal.By entering a desired plane and pressing "Plot", the desired plane along with its...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB