Code covered by the BSD License  

Highlights from
Delta Sigma Toolbox

image thumbnail

Delta Sigma Toolbox

by

 

14 Jan 2000 (Updated )

High-level design and simulation of delta-sigma modulators

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

dotplot(p,fmt)
function dotplot(p,fmt)
%function dotplot(p,fmt)
%Plot dots with format fmt
if nargin < 2 
    fmt = '.';
end
if size(p,1) == 2
    plot( p(1,:), p(2,:), fmt);
elseif size(p,1) == 3
    subplot(221);
    plot(p(1,:),p(2,:),fmt);
    subplot(222);
    plot3(p(1,:),p(2,:),p(3,:),fmt);
    subplot(224);
    plot(p(1,:),p(3,:),fmt);
    subplot(223);
    plot(p(2,:),p(3,:),fmt);
elseif size(p,1) == 4
    subplot(221);
    plot3(p(1,:),p(2,:),p(3,:),fmt);
    subplot(222);
    plot3(p(1,:),p(2,:),p(4,:),fmt);
    subplot(223);
    plot3(p(1,:),p(3,:),p(4,:),fmt);
    subplot(224);
    plot3(p(2,:),p(3,:),p(4,:),fmt);
end

Contact us