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

Disk Genius

Disk Genius was formerly known as Partition Guru which is an all-in-one solution for disk partition management, data recovery and disk repairing. It can recover lost files from partition, backup and restore partition table, clone partition or clone ...


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


New Downloads

M4VGear for Windows

M4VGear is the fastest iTunes
DRM video converter for
Windows which can easily and
losslessly remove DRM
protection from ...

Copernic Desktop Search

Smart Windows Desktop Search
engine for your computer
provided by Copernic. Copernic
Desktop Search is the best ...

WinTools.net Professional

A suite of tools for
increasing MS Windows
operating system performance.
WinTools.net Pro contains
tools: Clean ...

IDAutomation Code 39
Barcode Fonts

The IDAutomation Code 39
Barcode Fonts Package is a set
of fonts and tools for
printing the Code 3 of 9
barcode type. ...

Jihosoft Photo Eraser

Jihosoft Photo eraser can use
this tool to remove things
such as unwanted persons,
street signs, watermarks, and
face ...

Right Backup

Right Backup is a cloud
storage solution which makes
backing up and restoring data
simple. All that needs to be
done is ...

PitchGridTest

The Pitch Grid Test assesses
your relative pitch sense with
a relative pitch indicator,
which shows your
pitch-distance ...

Bopup Messenger

Fast and fully managed instant
messenger for secure use in
business and corporate
environments. It offers
encryption of ...

PC TuneUp Maestro

Scans and fixes PC issues and
improves system performance.
Features System Registry Scan
& Clean, Registry ...

ChequePrinting.Net Software

ChequePrinting.Net is a
enterprise cheque printing
software that provides a
multi-user environment to
print and manage ...