5.0

5.0 | 6 ratings Rate this file 69 downloads (last 30 days) File Size: 3.54 KB File ID: #3443

SCAM- A tool for symbolically solving circuit equations

by Erik Cheever

 

15 May 2003 (Updated 21 Nov 2003)

Code covered by BSD License  

This tool starts with a netlist (similar to spice) and generates and solves the resulting circuit.

Download Now | Watch this File

File Information
Description

This tool starts with a netlist (very similar to spice) and generates and solves the resulting circuit equations. The symbolic results can be evaluated to give numeric results if desired. Handles resistors, capacitors, inductors and op-amps.

A full description (including theory) is at:
http://www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA1.html

Acknowledgements
This submission has inspired the following:
EC-SIM 1.1
Required Products Symbolic Math Toolbox
MATLAB release MATLAB 6.5 (R13)
Zip File Content  
Other Files license.txt,
scam.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (10)
18 Aug 2003 Rasmus Anthin

Perfect! Just what I needed. Unfortunately I don't have the symbolic math toolbox but the reference material you put together is very descriptive and helped me a lot to move on with my matlab circuit simulator. Thanx!!!
P.S. It would be nice if you could write about how to do analysis on nonlinear components too. D.S.

16 Feb 2004 Predrag Vukovic  
07 Jan 2005 satyajit silveria

Excellent. But there was a problem initially running scam.m on Linux Redhat 9.0. The problem was that maple (a graphics engine I suppose), which was compatible with Redhat 8, was incompatible with Redhat 9.
The fix is to add the following line to /etc/profile: "export LD_ASSUME_KERNEL=2.4.1"
Then in the tradition of UNIX, just ignore the warning messages. It works find thereafter.

07 Aug 2005 Kiranmai Padakanla

We are not able to acess the complete description(theory)of the SCAM tool(the site is not at all accessible)

07 Apr 2006 Federico Forte

Good job! Thanks

05 May 2006 Norm Dyer

don't know yet - i will tell you after downloading and trying it out

30 Mar 2007 Bahram Gharadaghi

Thanks!

13 May 2007 Patrick Vogelsang

Excellent job !! Extremely usefull for lazy EE's. What I miss is the inplementation of dependent sources. Adding for example a VCVS (E) to SCAM helps to investigate circuits with non ideal opamps. Please implement E,F,G & H

25 Jan 2008 somo coulibaly

I've tried it. it is a very excellent job. Please try to add transistors for amplifier circuits investigating.

29 Sep 2008 Phased Array

Nice! Very impressive! I also have code that will allow for a kind of symbolic description of the circuit (It has its uses, but obviously Spice format is much better).

If you're game, I would be interested in collaboration.

phasedarray @ hotmail.com

(remove the spaces)

Please login to add a comment or rating.
Updates
22 May 2003

There was an error for circuits with no voltage sources. Changed name of submission.

21 Nov 2003

There was an error on some systems with function "str2Num". I changed it to "str2num" which is defined by MatLab

Tag Activity for this File
Tag Applied By Date/Time
electronics Erik Cheever 22 Oct 2008 07:01:37
circuit Erik Cheever 22 Oct 2008 07:01:37
spice Erik Cheever 22 Oct 2008 07:01:37
netlist Erik Cheever 22 Oct 2008 07:01:37
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com