Posts in Category MATLAB

Noise Analysis of Signal Components

on 29.03.2017 at 13:57 by Mehdi on Blog of Mehdi Alem
Introduction  In this post, the relation between the noise of signal amplitude and phase on one hand and the noise of in-phase and quadrature components of the signal on the other hand is investigated. We try to respond to the wrong […]

Time-Domain Response of Lock-in Filters

on 09.02.2017 at 08:36 by Mehdi on Blog of Mehdi Alem
Introduction  The heart of a lock-in amplifier is a phase-sensitive detector which includes a signal mixer and a low-pass filter. In this post, we focus on the time response of the low-pass filters implemented in Zurich Instruments lock-in amplifiers including […]

The Nyquist Diagram for Electrical Circuits

on 11.01.2017 at 07:10 by Mehdi on Blog of Mehdi Alem
Introduction The Nyquist diagram of a transfer function is a parametric plot of its imaginary part versus real part as the frequency sweeps in a certain range [1]. When dealing with electric circuits, the transfer function is the immittance [2] of the […]

Working with LabOne Software Trigger Data in Matlab

on 18.04.2016 at 10:42 by Daniel on Blog of Daniel Wright
LabOne’s Software (SW) Trigger allows the user to save bursts of instrument signals (e.g. its demodulator samples or a PID controller’s error value) when a specified trigger condition is met. The SW Trigger works much in the same way as […]

Controlling the HF2LI Lock-in with Matlab

on 03.01.2011 at 10:33 by Jürg Schwizer on Blog of Jürg Schwizer
Controlling the Zurich Instruments device directly with Matlab is extremely powerful for repetitive measurements and scripting. This blog entry explains a method to communicate with the ziServer directly from Matlab. This interface is very fast and thus well suited to record large data sets at high-speed.

Loading HF2LI Lock-in Measurements with Matlab

on 06.12.2010 at 10:52 by Jürg Schwizer on Blog of Jürg Schwizer
R recorded with Zurich Instruments HF2
The combination of Zurich Instruments devices and Matlab is a powerful tool set to get your application measured. In a first step I show a method to load the demodulator data of the Zurich Instruments HF2LI lock-in amplifier into the Matlab workspace. This approach uses the graphical user interface of the HF2LI to save the data in binary format. In a later blog entry a will show another method which allows for direct control of the HF2LI from Matlab. This enables scripting and recording of large measurement data sets.

Plots for Scientific Publications

on 21.11.2010 at 18:33 by Jürg Schwizer on Blog of Jürg Schwizer
Publication Example
For scientific publications the figure style has to follow exactly the style guide of the publisher. Following example should help you to set the figure size and font correctly.

Using Filters for Shadows of 3D Surfaces

on 10.11.2010 at 13:23 by Jürg Schwizer on Blog of Jürg Schwizer
Even though SVG is a 2D vector format, plot2svg can be used to create stunning 3D effects. The SVG filter effects can be used to create shadows that enhance the 3D effect. Following example creates a sphere with semi-transparent surface […]

Filters and Bounding Boxes in Detail

on 10.11.2010 at 12:58 by Jürg Schwizer on Blog of Jürg Schwizer
All SVG filters use bounding boxes to control the region the filter is applied to. Following example explains the bounding box parameters and their impact on the filter result.

Beyond Matlab Plot Functionality, Example 2

on 10.11.2010 at 11:24 by Jürg Schwizer on Blog of Jürg Schwizer
The following example of a histogram plot uses filter to fill figure elements with pixel images. The histogram bars will drop a shadow. The axis labels will be rotated by 90 degree to improve readability. All these additional effects are […]

Beyond Matlab Plot Functionality, Example 1

on 10.11.2010 at 10:51 by Jürg Schwizer on Blog of Jürg Schwizer
The filter effects of SVG enhance the professional impression of a plot. But use them carefully in technical publications. There, the content is important! The rest is fine tuning. However, for eye-catching effects the filters are very powerful. The following […]

Contour Example

on 10.11.2010 at 10:32 by Jürg Schwizer on Blog of Jürg Schwizer
Contour plots have proven to be very effective for visualization of complex measurement results in publications.

Surface Example

on 10.11.2010 at 09:47 by Jürg Schwizer on Blog of Jürg Schwizer
Unfortunately, SVG does not support bilinear color fills. Therefore, the convertion of Matlab patches is not straight forward. In addition, figures with patches generally contain a large number of elements. This puts some restriction on the usage of overlays to emulate a bilinear shading. The usage of color filters is inadequate due to speed limitations.

Image Example

on 09.11.2010 at 17:19 by Jürg Schwizer on Blog of Jürg Schwizer
Using images in matlab plots can offer some advantages as the pixel graphics is highly compressed. The axis elements are still vector elements. This combination is good for publications as font styles and labels can be reworked at any time.

Usage of Plot2svg

on 03.08.2009 at 16:48 by Jürg Schwizer on Blog of Jürg Schwizer
See how to use plot2svg on the commandline and how to include SVG in HTML.

Categories