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

concatStruct 1.0

  Date Added: July 19, 2013  |  Visits: 211

concatStruct

Report Broken Link
Printer Friendly Version


Product Homepage
Download (48 downloads)



% Concatenates two structures into a new structure. They do not have to have the same fields.This works for vector structures or structure arrays. Also works for nested structures.Currently can only concatenate along 1 dimension across all fields if concatenating a vector structure.% Example1 - vectors:%% Structure S1 has three fields, a, b, c. Structure S2 has 2 %fields, a and c. a and b are vectors, c is a cell array.%% S1.a = 1:10;% S1.b = 2;% S1.c = {'a', 'b', 'c'};% S2.a = 11:20;% S2.c = {'d', 'e', 'f'};%% S3 = concatStruct(S1,S2,'vec',2);% S3 =%% a: [2x10 double]% b: 2% c: {2x3 cell}%%% Example2 - structure arrays:%% S1(1).a = 1:10;% S1(1).b = 1:10;% S1(2).a = 2;% S1(3).b = {'a', 'b', 'c'};% S2(1).a = 11:20;% S2(2).a = {'d', 'e', 'f'};%% S3 = concatStruct(S1,S2,'array',2);% S3 =%% 1x5 struct array with fields:% a% b%%% Example3 - structure arrays with mismatched dimensions:%% S1(1).a = 1:10;% S1(1).b = 1:10;% S1(2).a = 2;% S1(3).b = {'a', 'b', 'c'};%% S1 =%% 1x3 struct array with fields:% a% b%% S2(1).a = 11:20;% S2(2).a = {'d', 'e', 'f'};% S2(2,1).a = 3;%% S2 =%% 2x2 struct array with fields:% a%% S3 = concatStruct(S1,S2,'array',1);% S3 =%% 3x3 struct array with fields:% a% b%% S4 = concat(S1,S2,'array',2);% S4 =%% 2x5 struct array with fields:% a% b

Requirements: No special requirements
Platforms: Matlab
Keyword: Array Concats Array Concatstructs Array Concatstructs Vec Double Example2 Struct Structure
Users rating: 0/10

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


CONCATSTRUCT RELATED
Development Tools  -  Fast String to Double Conversion 1.0
str2doubleq is equivalent to the Matlab built-in str2double function that converts char or cellstr array to appropriate double arrays. The drawback of built-in str2double is that it becomes very slow when the dataset becomes larger.str2doubleq...
10 KB  
Development Tools  -  contourcs: to obtain contourc output as a struct array 1.0
MATLAB CONTOURC returns a contour matrix that summarizes the contour lines. Although compact, it takes an extra step to decipher the matrix. CONTOURCS wraps CONTOURC function to return the content of the contour matrix as an easily accessible...
10 KB  
Development Tools  -  DataHash 1.0
DATAHASH - Checksum for Matlab array, struct, cell or fileHash = DataHash(Data, Opt) Data: Array of built-in types (U)INT8/16/32/64, SINGLE, DOUBLE (real or complex) CHAR, LOGICAL, CELL, STRUCT (scalar or array, nested), function_handle. Opt:...
10 KB  
Communication  -  adcarray 1.0
An ADCARRAY object usually contains a memmapfile object, together with a scale and offset to convert the values stored on disc (and pointed to by the memmapfile object) to real world numbers which are returned as double precision. These can also...
10 KB  
Development Tools  -  Confusion Matrix 3D with Overall PCC and Group Statistics 1.0
% Confusion matrix-based model performance summary tool.% Works with character and numeric data, for any number of groups.%% Displays your confusion matrix as a 3D bar chart of your observations,% broken down by their actual and predicted...
10 KB  
Libraries  -  MLDBM::TinyDB 0.20
MLDBM::TinyDB is a Perl module that can help you to create and manipulate structured MLDBM tied hash references. SYNOPSIS use MLDBM::TinyDB; ## or use MLDBM::TinyDB qw/db add_common/; @common = qw/created updated/; ## optional $tree =...
10.24 KB  
Libraries  -  Font::TTF::Scripts::AP 0.7
Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB). SYNOPSIS use Font::TTF::Scripts::AP; $ap = Font::TTF::Scripts::AP->read_font($ttf_file, $ap_file, %opts); $ap->make_classes(); INSTANCE...
102.4 KB  
Development Tools  -  VChooseKO 1.0
VChooseKO(V, K) creates a matrix, which rows are all permutations of choosing K elements of the vector V with order and without repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. K: Number of elements to...
20.48 KB  
Development Tools  -  VChooseKR 1.0
VChooseKR(V, K) creates a matrix, which rows are all combinations created by choosing K elements of the vector V without order and with repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. Prefer (U)INT8 or...
10 KB  
Development Tools  -  VChooseKRO 1.0
VChooseKRO(V, K) creates a matrix, which rows are all permutations created by choosing K elements of the vector V with order and with repetitions.INPUT: V: Array of class DOUBLE, SINGLE, (U)INT8/16/32/64, LOGICAL, CHAR. Prefer (U)INT8 or (U)INT16...
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