Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Newsletters - MATLAB digest

Past Issues

June 1998
Volume 6, number 2


The MATLAB® Digest is The MathWorks electronic news bulletin for MathWorks Account members. The MATLAB Digest can be sent directly to you. To subscribe, become a MathWorks Account Member.

Technical Examples & Tips

"Filter Design and Spectral Estimation Using MATLAB and the Signal Processing Toolbox"
by Anne Mascarin

This article shows two examples which demonstrate the application of MATLAB to filter design and spectral estimation. We will design a filter and apply it to a speech signal, then analyze recorded speech data using different spectral analysis methods. In the first example, we use SPTool, the Graphical User Interface of the Signal Processing Toolbox, to view a "clean" (noise-free) signal, add bandlimited noise to it, attempt to re-create the original clean signal by designing and applying another filter to it, and evaluate the resulting (clean) signal. In the second example, we apply several spectral analysis methods to these signals and compare the results. read more

"What's the big deal? Getting the most out of the deal function"
by Clay Thompson

The deal function allows cell arrays and structure arrays to be cross assigned to each other. The deal function is commonly used to

  • Assign cell array contents to a structure field
  • Assign structure field contents to a cell array
  • Initialize structure fields
  • Extract varargin input arguments into simple variables
  • Transfer field contents from one structure to another

To find out more about using this function, read more

Playing Blackjack with Stateflow
This game demonstrates many of the main functionalities of Stateflow, including broadcast events, the GUI interface, and hierarchy.

To obtain the Stateflow blackjack demo, save the blackjack.zip. To run this demo, you need to be licensed for Stateflow and to have a C compiler set up on your machine. You can then run the file bj105.mdl.

Printing from SPTool
Created by
Paul Pacheco 11/21/97
The M-file will help you generate printouts from the Spectrum Viewer, the Signal Browser, and, with some edits, the Filter Designer in SPTool. The M-file creates a new MATLAB figure window which can be printed using the PRINT function.

MPEG Encoding for MATLAB Movies

(selected from the User-Contributed Archive) Created by David Foti 10/14/97
MPEG is an ISO standard movie-encoding format. The MPEG converter for MATLAB takes a MATLAB movie matrix and writes the movie to disk as an MPEG file with file extension ".mpg" (MPGWRITE). It also takes an MPEG file and converts it into a MATLAB movie matrix (MPGREAD).

www.mathworks.com/support/tech-notes/1200/1204_files/mpgread.tar
www.mathworks.com/support/tech-notes/1200/1204_files/mpgread.zip
www.mathworks.com/support/tech-notes/1200/1204_files/mpgwrite.tar
www.mathworks.com/support/tech-notes/1200/1204_files/mpgwrite.zip

The user-contributed archive is a service to the MATLAB community -- a place where MATLAB users can communicate ideas to one another. It is not a depository of MathWorks approved software; no warranties, expressed or implied, are made by The MathWorks that the M/MEX files contained in the archive are error free. Use of these programs is at the user's own risk and The MathWorks disclaims all liability for injury or damage that may result from their use.

Release 10 (MATLAB 5.2.1) Patch

The Release 10 Patch includes MATLAB 5.2.1, which fixes several bugs in the MATLAB Language, Handle Graphics, and the Application Program Interface (API); Simulink 2.2.1, Real-Time Workshop 2.2.1; and the Stateflow 1.0.7 compatibility release. This is a patch for PC and Unix only. The Macintosh patch is in progress; when it is ready it will be available in the Tech Support area.

For details, review the release notes and download the Release 10 (MATLAB 5.2.1) Patch at


You can use the same technical solution database as our Technical Support engineers at /support . If you do not find an answer to your question, you can contact our Technical Support department at support@mathworks.com.

The MATLAB Digest is The MathWorks electronic news bulletin for MathWorks Account members. Visit Member Benefits for a complete listing of MathWorks Account benefits.

Contact sales
Print this page
Subscribe to newsletters