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

Print Inspector

Whether you are using a printer connected to your local desktop computer or a print server sometimes you need to see whats going on in your printer by having a close look at the print jobs sent by the users. Print Inspector is such type software ...


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


New Downloads

WidsMob Viewer

WidsMob Viewer is an excellent
photo viewing software with
super fast speed and excellent
experience. There are
different ...

Vehicle Manager Fleet
Network Edition

Vehicle Manager 2018 tracks
your vehicle fleet
maintenance, expenses, parts,
vendors, contacts, service
reminders, and more.

Joyoshare Media Cutter for
Mac

Joyoshare Media Cutter for Mac
is an all-in-one video cutter
that can cut any video and
audio file, including MP4,
AVI, ...

InPixio Free Photo Editor

Easy to use! Add Filters &
Effects: turn your photos into
artwork! Cut & Crop:
Change the Focus and Size of
your ...

VanDyke ClientPack for
Windows, Mac and UNIX

VanDyke ClientPack is a suite
of tools for securely
automating file transfer,
shell, and public-key
administration tasks. ...

SecureFX for Mac

A highly configurable secure
file transfer client for SFTP,
FTP/TLS, SCP and FTP with
advanced features like site
...

Efficient Reminder

Efficient Reminder is a
cross-platform appointment and
event reminder tool. With her
help, you will be able to
catch up ...

PC Win Booster Free

PC Win Booster Free is an
application that lets the user
keep up Windows clean, stable
and fast.

PWMinder Desktop

PWMinder is a Password Manager
that is used to store
passwords and other sensitive
data in a secure encrypted
file. ...

DreamPlan Home Edition

DreamPlan Home Edition for
Windows is an easy to use
software. See your dream floor
plan with customized kitchens,
...