Rank: 5200 based on 16 downloads (last 30 days) and 2 files submitted
photo

Siva

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Siva View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Jul 2013 Zoom Strips PLot Creates a strips plot for various speech files Author: Siva speech processing, signal processing, mathematics 4 0
11 Jun 2013 Hello/Goodbye World using GUI 2.5 Test Upload Author: Siva gui 12 1
Comments and Ratings on Siva 's Files
Updated File Comment by Comments Rating
12 Jun 2013 Hello/Goodbye World using GUI 2.5 Test Upload Author: Siva Jan Simon

Using the brute clearing header "clc; clear all;" inside the functions is a bad idea. On one hand a function does not contain local variables initially, such that clearing them does not have any benefit. On the other hand this removes all breakpoints also, and everything, which prevents debugging, is a really bad programming practize.

I prefer the standard indentation scheme applied by Matlab automatically. But this is a question of taste only.

The small number of comments reduces the educational value of this submission.

Transporting a set of variables as cell has the important drawback, that the order of the values matter:
x=temp{1,1};
y=temp{1,2};
a=temp{1,3};
If you use a struct with the fields "x", "y", and "a" instead, the meaning is immediatly clear.

Contact us