{"id":19140252,"url":"https://github.com/geraked/matlab-mna","last_synced_at":"2025-05-06T23:15:26.142Z","repository":{"id":41339294,"uuid":"235602218","full_name":"geraked/matlab-mna","owner":"geraked","description":"Modified Nodal Analysis by using MATLAB","archived":false,"fork":false,"pushed_at":"2021-06-28T05:48:11.000Z","size":1743,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T23:15:19.003Z","etag":null,"topics":["analysis","bode-plot","circuit","computer-engineering","electric-circuits","electrical-circuits","electrical-engineering","frequency-response","geraked","hspice","matlab","matlab-mna","mna","plot","rabist","spice","student-project","undergraduate","voltage-source","yazd-university"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geraked.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-22T15:26:19.000Z","updated_at":"2025-03-24T06:14:38.000Z","dependencies_parsed_at":"2022-09-03T14:42:53.803Z","dependency_job_id":null,"html_url":"https://github.com/geraked/matlab-mna","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fmatlab-mna","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fmatlab-mna/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fmatlab-mna/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fmatlab-mna/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geraked","download_url":"https://codeload.github.com/geraked/matlab-mna/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782835,"owners_count":21803410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","bode-plot","circuit","computer-engineering","electric-circuits","electrical-circuits","electrical-engineering","frequency-response","geraked","hspice","matlab","matlab-mna","mna","plot","rabist","spice","student-project","undergraduate","voltage-source","yazd-university"],"created_at":"2024-11-09T07:16:55.720Z","updated_at":"2025-05-06T23:15:26.118Z","avatar_url":"https://github.com/geraked.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"![catalog](docs/catalog.jpg)\n\n# MATLAB MNA\n\nModified Nodal Analysis by using MATLAB\n\nThis program gets an electrical circuit netlist like HSPICE and gives you the Bode (Frequency Response) Plot using Modified Nodal Analysis in MATLAB.\n\n## Getting Started\n\nTo run the program, first open MATLAB and add to path the **`src`** folder and its subfolders.\n\nOpen **`Main.m`** and assign your netlist file name to the **`file`** variable.\n\n![help](docs/help.gif)\n\n### Tips\n\nThe netlist file is similar to HSPICE, but there are some minor differences:\n*\tDon’t write **`ac`** for independent voltage sources. (Only **ac** independent voltage sources are supported by this program, so there is no need to mention.)\n*\tAlso don’t mention **`ac`** for the method of analysis.\n*\tYou must determine the **input** and **output** **nodes** of the circuit for computing the frequency response.\n*\tYou don’t need to write **`.end`** in the last line of the netlist file.\n*\tOnly **integer numbers** are allowed to define **nodes**.\n* Only these components are supported:\n  * **`R`** (Resistor)\n  * **`C`** (Capacitor)\n  * **`L`** (Inductor)\n  * **`V`** (Voltage Source)\n  * **`I`** (Current Source)\n  * **`E`** (Voltage Controlled Voltage Source)\n  * **`G`** (Voltage Controlled Current Source)\n\n* Use the following format to define necessary fields for analysis plot:\n```\n.    \u003cmin-frequency\u003e    \u003cmax-frequency\u003e    \u003cinput-node\u003e    \u003coutput-node\u003e\n```\n\n## Netlist Example\n\n\u003cimg align=\"right\" width=\"300\" src=\"src/examples/Example-1.png\"\u003e\n\n```text\n***Example-1\n\nVin\t1\t0\t1\nR1\t1   \t2\t10k\nC1\t2\t0\t100u\n\n.\t0.01\t100\t1\t2\n```\n\n## Author\n**Rabist** - view on [LinkedIn](https://www.linkedin.com/in/rabist)\n\n## Details\n- **Course:** Electrical Circuits - Undergraduate\n- **Teacher:** [Dr. Sayed Alireza Sadrossadat](https://yazd.ac.ir/en/people/sadr)\n- **Univ:** Yazd University\n- **Semester:** Fall 1398\n\n## License\nLicensed under [MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraked%2Fmatlab-mna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeraked%2Fmatlab-mna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraked%2Fmatlab-mna/lists"}