Home > By category > Scripts >Communication > Structure Cut



Structure Cut

  • Downloads: 
  • Views: 
  • Rating:

As an example, suppose you had taken 155 seconds of data of the location (x,y,z) of a particle as a function of time (t). It is convenient to put that all into a struct, such as this one:

>> data

data =

t: [155000x1 double]
x: [155000x1 double]
y: [155000x1 double]
z: [155000x1 double]

If you wanted to extract the data taken between 15 and 20 seconds, you would normally need to type

index = find((data.t > 15) & (data.t < 20));
cut_data.t = data.t(index);
cut_data.x = data.x(index);
cut_data.y = data.y(index);
cut_data.z = data.z(index);

Tedious, and prone to typos! Using the function "struct_cut" you can do the same thing by just typing

index = find((data.t > 15) & (data.t < 20));
cut_data = struct_cut(data,{'t','x','y','z'},index);

If you want to apply different cuts to each element of the structure, just type

cut_data = struct_cut(data,{'t','x','y','z'},{i_t,i_x,i_y,i_z});

where "i_t", "i_x", etc are four different cut arrays you make elsewhere.

I tested this with ~10-100 megabyte data sets, and it runs really fast. Hopefully it will work well for larger arrays also, please let me know!

Free download from Shareware Connection - As an example, suppose you had taken 155 seconds of data of the location (x,y,z) of a particle as a function of time (t).

Publisher: Sean Bryan | License: Freeware | Price: 0.00
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 27-05-2013 | Rating: 0 | Title: Structure Cut

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/29074/1/struct_cut.zip

More downloads from Structure Cut publisher Sean Bryan:

Read ZEMAX Beam File (ZBF) - The results can be saved in the ZEMAX Beam File (ZBF) format.

Subversion Interface for Matla - The summary basically says it all

Subversion Interface for Matlab - The summary basically says it all.

Error Propagation Class - This class, called "meas" (meaning measurement with uncorrelated error), contains two elements

CAMB Interface for Matlab - "camb.m" is the routine itself. Modify line 36 to point to where the CAMB executable is installed.

Structure Cut keywords:
Structure Cut related downloads:

SQL Data Sets - SQL Data Sets lets you save the results of your database queries in a single file called a 'package’, which can be opened by anyone using SQL Data Sets, or the FREE SQL Data Sets Viewer, without the need to install any other software.

Navicat Data Modeler - Navicat Data Modeler is a powerful and easy-to-use database design tool for creating and manipulating data models.

EMS IB/FB Data Export - EMS IB/FB Data Export is a powerful program to export your data quickly from InterBase/FireBird databases to any of 15 available formats, including MS Excel, MS Word, HTML, TXT, and more.

Unistal Novell Data Recovery Software - Unistal Novell Data Recovery Software - Novell File Recovery Tool

Data Doctor Recovery Pen Drive - Data Doctor pen drive data recovery software facilitates you to salvage deleted

Shareware Connection periodically updates pricing and software information of 'Structure Cut' from company source 'Sean Bryan' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Structure Cut' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Structure Cut.

New Reviews

Style Jukebox - No matter if you use a computer for personal needs or work in a networked setup, listening to music is commonplace. It is required for relaxation amidst work and nearly every user indulges in it. For music playback on PC, the WMP is not the only ...

AOMEI Partition Assistant Lite Edition - No matter whether you are a casual PC user or deal with a number of computers for professional needs, taking care of hardware components is a necessity. Among all hardware components used in laptop or desktop, hard disk is the most important one. ...

Spark Browser - Nearly every PC user needs to browse the web nowadays, irrespective of age and gender. Whether you use a laptop or desktop, it is mandatory to use a web browser to access web or download files. There was a time a majority of Windows users ...

DriverPack Solution Professional - To keep your laptop or desktop performing well consistently, it is important to pay attention to some aspects. Using top antivirus utility, cleaning up junk feels periodically are some such examples. However, you also need to keep drivers of ...

PCFerret - For average PC users learning about the details of each hardware component used in the laptop or desktop may not be an easy task. It is something the geeks can find out easily. However, less tech savvy PC users can surely resort to specialized ...

Potatoshare Systemnanny - People use PCs for various needs nowadays. A computer is not used to run office productivity or accounting software alone anymore. It is also used for tasks like web browsing, media playback, file conversion, and myriad related needs. After ...

Efham internet booster - Without using the web, you cannot accomplish a lot of things in life easily. However, the speed of internet access does play a role behind your web usage experience. At times, you may have to cope with sluggish web page rendering, buffering while ...

EasyBrake - PC users often need to convert videos from various formats to other formats that suit their needs. As expected, there are hundreds of free and paid apps to accomplish such tasks nowadays. It is not mandatory that you will have to pay a high ...

Emsisoft Emergency Kit - The way malware creators and hackers are adapting to newer measures to sneak past PC security, it is no longer enough to stay complacent after installing a standalone antivirus. You never know when a stealthy malware sneaks past its scan and ...

Norton Power Eraser - Getting rid of malware and other types of rogue applicationlications with a regular antivirus can prove to be a tough task nowadays. The way malicious users are becoming smarter with time; it makes sense to use an additional layer of protection ...




New Downloads

Appointment Scheduler

Appointment booking software
suitable for hair and beauty
salons, massage and spa
centers, home service,
consultants and ...

Cool Record Edit Pro 2015

Cool Record Edit Pro allows
users to record sound from any
source to your hard drive. The
Editor allows you to perform
...

Softtanks Business Planner

Free Business Planning
Software from Softtanks.com,
It will change the way your
business works. Your
Employees, ...

IptablesWeb

IptablesWeb is a plugin-based,
multilanguage and multiuser
PHP network management system
to inspect your iptables logs
...

The Fibonacci Sequence

Often I see students asking
for help on a tool to compute
the Fibonacci numbers

Gale

Gale is a free instant
messaging software.

GentleSource Guestbook

GentleSource Guestbook allows
you to put a guestbook on your
website for your visitors to
sign it leave a message on
your ...

IDBlogNetwork Ads

IBNadds is a plugin to install
Ad IDBlogNetwork on your
WordPress blog

Region of interest
Extraction by free hand
method

We run ROI_extract code in
Matlab, and chose the image
which want to extract ROI from
it and we select the ROI.

Ajax
autosuggest/autocomplete
from database

Ajax autosuggest/autocomplete
from database helps the
visitor and presents in real
time some possible results
based on ...

Paley Type I Hadamard
matrices

order of the Hadamard matrix
to be computed (integer)

MATLAB Programming Example
for Agilent's U2600A USB
Modular (DAQ) Digital IO
module

The U2651A module is slotted
into the U2781A USB Chassis.