Code covered by the BSD License  

Highlights from
Analog / Mixed Signal Examples

image thumbnail

Analog / Mixed Signal Examples


Dick Benson (view profile)


12 Feb 2002 (Updated )

Extensive collection of examples for analog and mixed signal design work.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

function plot_spar(spar)
%% called using the simulation stop callback
% Copyright 2004-2013 The MathWorks, Inc.

angle = unwrap(atan2(spar(:,5),spar(:,4)));
subplot(1,2,1), [lineseries,hsm] = smithchart(y); title('Syy');
% subplot(1,2,2), polar(angle,radius); title('Sxy')
subplot(1,2,2), plot(spar(:,1),20*log10(radius)); title('Sxy'); xlabel('Hz'); ylabel('dB')
set(gcf,'NumberTitle','off','Name','S Parameter Plots','Position',[100,100,1000,300]);

Contact us