File Exchange

image thumbnail

Diversity

version 1.0 (1.44 KB) by

Diversity

2 Downloads

Updated

View License

Diversity combining

Comments and Ratings (2)

Jan Simon

Jan Simon (view profile)

When the script is started, it displays "Enter the number of Diversity" and expects an input. The range and type of valid inputs are not explained in the help text, such that the user has to examine the poorly documented code to see, what this number should represent at all.

Why do you measure the timings by TIC/TOC?

Instead of the loop, the command MAX() is much faster to determin the maximum.

Currently the purpose of the program is not clear.

Jos (10584)

Jos (10584) (view profile)

Users beware! This is a script that destroys your current workspace.

To the author: you should write it as a function, allowing flexible inputs, with proper comments and a help section that explains the purpose of the function in detail.

MATLAB Release
MATLAB 8.0 (R2012b)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video