Software Listing of Author : "Sean Bryan"

"camb.m" is the routine itself. Modify line 36 to point to where the CAMB executable is installed. "params_strings.mat" is a matlab file that contains the strings of the text file CAMB reads to look for the cosmological parameters. "params_matlab.txt" is the text file that "params_strings.mat" was made from. It is included to show all the possible parameters CAMB can take as a guide for modifying "camb.m" to handle more/different parameters.

  • Platform: Matlab, Scripts

This class, called "meas" (meaning measurement with uncorrelated error), contains two elements. A "meas" can be created with the constructor function: >> d = meas(); and values can be assigned to the two elements. >> d.value = 1; >> d.error = .3; The values can also be displayed: >> d 1 +/- 0.3 I overloaded the +,-,*,/,^,>,<,==,>=,<= operators to perform the error propagation for each of these operators. The comparison operators work to within 1-sigma. For example, (1.0 +/- .3) == (.9 +/- .3) would return "true". In this early version, this only works for single numbers, and just for the operators listed above. In the future, I plan to overload many common functions (sin(x) and such...), and make support for matrices and arrays. Comments and changes are most welcome, especially since this is my first Matlab code in which I...

  • Platform: Matlab, Scripts

ZEMAX is an optical simulation code (http://www.zemax.com/). One of its features, Physical Optics Propagation, calculates the electric fields as they travel through the simulated optical system. The results can be saved in the ZEMAX Beam File (ZBF) format. It is useful to be able to read the ZBF file into Matlab so the electric field amplitudes and phases can be plotted in Matlab for display. Multiple simulation results can be easily compared in this way. Since this code uses mex, the user will first need to compile part of the code. I only tested this on Windows, and I believe the code will only compile using gcc. Please install MinGW (http://www.mingw.org/) and GNUMex (http://gnumex.sourceforge.net/). Then, go to Matlab and type: mex read_zbf_mex.c This will compile the mex part of the code. To run the code, type [ x y Ex Ey ] =...

  • Platform: Matlab, Scripts

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

  • Platform: Matlab, Scripts

The summary basically says it all. This lets you use Subversion with Matlab. I didn't see any other implementation on this, so I wrote this simple version for my group. Put this file in the ../toolbox/matlab/verctrl/ directory, overwriting the existing file there with the same name. Then go to matlab preferences, click on source control, and change it to "custom." Now in a matlab editor, you can use the menu items under File-Source Control. Subversion doesn't use the "lock" concept, so that isn't implemented here. I also didn't implement the "undo checkout" feature. However, Zheng Li implemented that feature, and it is included in the "customverctr.m" file. My old version is "customverctr_noundo.m". Improvements or comments are welcome.

  • Platform: Matlab, Scripts

The summary basically says it all. This lets you use Subversion with Matlab. I didn't see any other implementation on this, so I wrote this simple version for my group. Put this file in the ../toolbox/matlab/verctrl/ directory, overwriting the existing file there with the same name. Then go to matlab preferences, click on source control, and change it to "custom." Now in a matlab editor, you can use the menu items under File-Source Control. Subversion doesn't use the "lock" concept, so that isn't implemented here. I also didn't implement the "undo checkout" feature. However, Zheng Li implemented that feature, and it is included in the "customverctr.m" file. My old version is "customverctr_noundo.m". Improvements or comments are welcome.

  • Platform: Matlab, Scripts
New Reviews

Safe In Cloud

It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...


PictBear

Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime too. ...


Panda Cloud Cleaner

PC security has become a tricky and complicated subject both for home users and network supervisors, with complexity and risk factors multiplying over the years. Using a single antivirus app may not be enough anymore. That explains why many users ...


SnapCrab

Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...


BitKiller

Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...


SeaMonkey, Portable Edition

Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...


TuckAway Intelligent Email Organizer Pro

Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...


New Downloads

EtherSensor PCAP Edition

EtherSensor is a
high-performance (over 20Gbps+
links) platform for extracting
events and messages from
network traffic ...

TSplus App

Just like TSplus software, the
TSplus App provides fast and
stable remote connections from
tablets and smartphones, to
...

WidsMob Denoise

WidsMob Denoise should be an
easy noise reduction program
for both smartphones and
camcorders with different
photo ...

Soda PDF

Soda PDF Anywhere is the first
full-featured PDF solution
available both on desktop and
online. It allows users to
read, ...

sMonitor

sMonitor is a server uptime
monitor which will constantly
monitor the online status of
both local and remote servers.
It ...

Metadata++

Edit, display, modify, add
metadata to any file by
creating sidecars.

A VIP Task Management
Solution

Task management together with
project management and time
management, help us achieve
the goals we set. We believe
that ...

Advanced Task Scheduler
Network

Client/Server software for
task scheduling, which allows
you to create scheduled tasks
on the server and manage them
from ...

Server Genius

Server Genius is the smart
monitoring and reporting
solution to set up on your
servers. Track remote access,
check ...

Softany WordToHelp

Create help files (HTML Help,
Web Help and PDF) from
Microsoft Word document.
Convert Word document to HTML
Help (.chm), ...