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

odesplit 1.0

  Date Added: April 29, 2013  |  Visits: 221

odesplit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



Occasionally I have had to solve large systems of differential equations which result in matlab running out of memory during evaluation. Odesplit breaks up the simulation period into a series of chunks to ease this problem. At each split point in the evaluation a function specified by the user is called with the current set of results to do whatever is necessary with the ouput. The next section is then evaluated using the final value of the previous section as the new starting point.This behaviour differs from matlab's odextend as it allows you operate only on small sections of the solution, whereas odeextend always returns the full solution from the original start time to the specified final time. With odesplit, you could also choose to extract only particular solution components of interest, but which depend on the full solution, saving more resources.Example:Create the ode function described in Example 1 of the documentation forode45 (doc ode45) function dy = rigid(t,y) dy = zeros(3,1); % a column vector dy(1) = y(2) * y(3); dy(2) = -y(1) * y(3); dy(3) = -0.51 * y(1) * y(2);Create a function to be called at each split point function results = rigidspfcn(results, sol) if nargin == 0 results.iters = 0; else save(['rigidodesave_', int2str(results.iters), '.mat'], 'sol'); results.iters = results.iters + 1; endSet the options etc. and call odesplit, splitting the computation intothree blocks odeoptions = odeset('RelTol',1e-4,'AbsTol',[1e-4 1e-4 1e-5]); odefcn = @ode45; odeevfcn = @rigid; tspan = [0, 30]; y0 = [0 1 1]; spfcn = @rigidspfcn; [results, tspan] = odesplit(odefcn, odeevfcn, tspan, ... y0, odeoptions, spfcn, 'Blocks', 3)In this case, odesplit evaluate the ode and saves the results of each section to disk. However, we could have done anything we wished with this section of data, such as appending solution components of interest to 'results'. The 'results' variable is maintained throughout the calculation in odesplit and returned at the end.If you ask it to, odesplit will also look out for an out-of-memory error and restart the calculation with a greater number of split points.

Requirements: No special requirements
Platforms: Matlab
Keyword: Computation Int Strresultsiters Mat Nargin Resultsiters Rigidspfcnresults Save Rigidodesave Splitting Vector
Users rating: 0/10

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


ODESPLIT RELATED
Programming  -  mwavepy 1.0
mwavepy is a compilation of functions for microwave/RF engineering. It is useful for things such as calibration, data analysis, data acquisition, and plotting functions. Being that it has been built around my specific needs as a graduate student,...
460.8 KB  
Development Tools  -  Save Workspace to Struct 1.0
This function allows to save all the variables from the current workspace into a struct arraySometimes you need to save the variables from your base workspace, but using "save" function will have them all stored individually so if you reload them...
10 KB  
Web Browser Plug-ins  -  IE Save Buddy 1.0
How to save information from Internet in one second? How to find out all you have saved in one second? It's a piece of cake for IE Save Buddy. IE Save Buddy is integrated with Internet Explorer very well. It helps you collect, save and manage all...
1.2 MB  
Key Loggers  -  Save Keys 6.0
Save Keys 6.0 is a completely invisible key recorder that secretly records every key typed into the keyboard along with the window title of the window or program that the keys were typed into. This program makes encryption of mail, messages, and...
926 KB  
Clipboard Utilities  -  DzSoft Paste & Save 2003
Paste & Save is a handy little utility that can save pieces of text on the Clipboard for reuse, before you accidentally overwrite it. Allows to sort the text into three files. Can save all copied text automatically. Has a convenient floating...
1.12 MB  
E-Mail Tools  -  Save Message Action for InboxRULES 2.01
Save Message Action for InboxRULES can automatically save message body and attachments to the disk folder when it arrives to MS Outlook account or MS Exchange Server mailbox. Message body can be saves in Plain, RTF, HTML or Native format. There...
260 KB  
Web Browser Tools  -  EZ Save MHT 3.1.2
EZ Save MHT is an Internet Explorer add-on that allows you to save any web page as a standard .MHT web archive file with a single click. WebArchives are complete web pages with images and all, but saved as a single, standalone file (.mht). Similar...
1.04 MB  
Web Browser Tools  -  AEVITA Save Flash 1.5
AEVITA Save Flash lets you easily save flash movies right from Internet Explorer. It enables you to download all flash animations from web pages, including Flash websites, Flash games, Flash cards, Flash movies, Flash banners and cartoons. You can...
967 KB  
File Cataloguers  -  Mat-MD5 1.0
Mat-MD5 is a free software that allow you to check the MD5 value for each file processed and compare it with other MD5 strings. It will process one or more file and it will add the result value to a list. You can add your MD5 value to compare by...
264 KB  
Network & Internet  -  Furl-save 1.0.3
Furl-save project is a Perl script that does a backup of your categorized, keyword-tagged web bookmarks and their respective page contents stored on online service furl.net It was tested on following platforms: - RedHat Linux 7.3 - RedHat...
4.1 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