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.179.004 Times

repToSize 1.0

  Date Added: April 22, 2013  |  Visits: 201

repToSize

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



repToSize is an adaptation of repmat which requires only the final array size as the input. This removes the need to calculate the number of repetitions as well as handling for cases where a a fractional number of repetitions is required.If the final size is not a multiple of the original array's size, the appropriate partition of the array will be used to fill the remaining values. In pictoral form for the 2D case: If A = [m x n array], then B = repToSize(A,x,y) produces | A A .. A A2 | | A A .. A A2 | | .. .. .. .. .. | | A A .. A A2 | | A1 A1 .. A1 A3 | where x >= m, y >= n, and A1 = A(1:rem(x,m),:) A2 = A(:,1:rem(y,n)) A3 = A(1:rem(x,m),1:rem(y,n)) If, for example, x < m and y < n, then B will simply be equal to A3. Example: A = reshape([1:3*4*5],[3 4 5]); % a 3x4x5 array of values from 1 to 60 B = repToSize(A,[13 19 3]) % create a 13 x 19 x 3 array, replicating values B = repToSize(A,13,19,3) % alternate syntax In this example, B(:,1,:) will contain repeated copies of [1;2;3] with a 1 as the final entry (13 is not a multiple of 3). B(1,:,:) will contain repeated copies of [1,4,7,10], ending in 7 as the last entry in the row (19 is not a multiple of 4).

Requirements: No special requirements
Platforms: Matlab
Keyword: 3x4x5 Equal Produces Remxm Remxm Remyn Reptosizeaxy Reshape Simply
Users rating: 0/10

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


REPTOSIZE RELATED
Development Tools  -  Converting a list of equal length lists into XML 1.0
This module takes a list of equal length lists and converts it into XML. If the first sublist is a list of headings, these are used to form the element names of the rest of the data, or these can be defined in the function call. Root and "row"...
 
Development Tools  -  ISO 226 Equal-Loudness-Level Contour Signal 1.0
This function will return a 29-point equal loudness contour for your desired phon level. The frequencies evaulated in this function only span from 20Hz - 12.5kHz, and only 29 selectivefrequencies are covered. This is the limitation of the ISO...
10 KB  
Development Tools  -  Split nD-array into equal sized cells 1.0
MAT2TILES is basically a wrapper for mat2cell but with a more convenient interface when you are simply trying to decompose an N-dimensional array into equal-sized chunks. It takes the desired chunk-size as an input argument, whereas mat2cell does...
10 KB  
Modules  -  Equal Heights jQuery 7.x-1.0
This modules implements a jQuery Equal Heights plugin that can equalize the height of the elements of the specified class.To use it, give the elements the same class, then go to the administration interface and add this class (separate multiple...
10 KB  
Education  -  HEALPix 2.20a
HEALPix is an acronym for Hierarchical Equal Area isoLatitude Pixelization of a sphere. As suggested in the name, this pixelization produces a subdivision of a spherical surface in which each pixel covers the same surface area as every other...
27.7 MB  
Network & Internet  -  paptcha 0.0.1
paptcha is a PHP function that produces random numbers and results for a CAPTCHA program. paptcha project takes 3 arguments: the number of digits to produce, the number of choices to produce, and a flag to indicate whether the results should be...
 
Network & Internet  -  mod_xmltime 1.1
mod_xmltime produces an XML timestamp for +1200 to -1200 UTC Zones. mod_xmltime creates an XML Date/Time graph. Installation: - Verify that you have a late version of libxml2. - Verify that apxs is on your path (it should have installed with...
9.22 KB  
Business  -  db2dot 0.2.2
db2dot reverse engineers an existing database and produces an ER diagram in dot format. The dot file can be fed through graphvizs dot to produce a pretty ER diagram. The diagram includes tables and relationships derived from db meta-data and...
11.26 KB  
Audio Tools  -  aio-xmms 0.2.0
aio-xmms is an output plugin for XMMS which produces output for use with the libAIO library.. Get libAIO XMMS output plugin at SourceForge.net. Fast, secure and free downloads from the largest Open Source applications and software directory....
184.32 KB  
Business  -  GNU Source-highlight 2.7
GNU Source-highlight produces a document with syntax highlighting when given a source file. Source-highlight reads source language specifications dynamically, thus it can be easily extended (without recompiling the sources) for handling new...
614.4 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