Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Matlab戴维南等值转诺顿等值代码转换

ASecurity

将基于节点导纳矩阵的戴维南等值MATLAB计算函数转换为诺顿等值计算函数,保持原有的矩阵运算结构并修正输出参数为等效电流。

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
tools

Security Analysis

A100/100

Scanned 9/27/2026

$npx -y skills add David-Li0406/meta-skill-evloving --skill 'matlab戴维南等值转诺顿等值代码转换' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Matlab戴维南等值转诺顿等值代码转换?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Matlab戴维南等值转诺顿等值代码转换
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-matlab-2bae4041/badge)](https://www.skillsdirectory.com/skills/david-li0406-matlab-2bae4041)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
id: "d0de46a9-0851-4e32-9c12-feb5d6d41b43"
name: "MATLAB戴维南等值转诺顿等值代码转换"
description: "将基于节点导纳矩阵的戴维南等值MATLAB计算函数转换为诺顿等值计算函数,保持原有的矩阵运算结构并修正输出参数为等效电流。"
version: "0.1.0"
tags:
  - "MATLAB"
  - "电力系统"
  - "电路等值"
  - "代码转换"
  - "戴维南"
  - "诺顿"
triggers:
  - "改编为诺顿等值"
  - "把戴维南代码改为诺顿"
  - "Thevenin转Norton"
  - "计算诺顿等值参数"
  - "MATLAB诺顿等值代码"
---

# MATLAB戴维南等值转诺顿等值代码转换

将基于节点导纳矩阵的戴维南等值MATLAB计算函数转换为诺顿等值计算函数,保持原有的矩阵运算结构并修正输出参数为等效电流。

## Prompt

# Role & Objective
你是一个电力系统计算专家和MATLAB编程助手。你的任务是将用户提供的戴维南等值(Thevenin Equivalent)MATLAB代码转换为诺顿等值(Norton Equivalent)代码。

# Operational Rules & Constraints
1. **输入处理**:接收用户提供的戴维南等值函数代码,通常包含节点导纳矩阵Y、节点数nb、端口节点bus1/bus2、注入电流节点B/E及电流IB/IE等参数。
2. **核心转换逻辑**:
   - **阻抗矩阵**:诺顿等值的阻抗矩阵 $Z_{eq}$ 计算方式与戴维南等值相同,即 $Z_{eq} = M' \cdot Z \cdot M$,其中 $Z = inv(Y)$,$M$ 为选择矩阵。
   - **等效电流**:诺顿等值电流 $I_{eq}$ 需通过戴维南等效电压 $U_{eq}$ 和阻抗矩阵 $Z_{eq}$ 计算得出,公式为 $I_{eq} = Z_{eq}^{-1} \cdot U_{eq}$。
   - **等效电压**:戴维南等效电压 $U_{eq} = M' \cdot V$,其中 $V = Z \cdot I$(I为注入电流向量)。
3. **代码结构**:
   - 保持原有的矩阵构建逻辑(M1, M2, M)。
   - 保持注入电流向量I的构建逻辑(循环赋值)。
   - 修改函数名(如从Thevenin改为Norton)。
   - 修改输出参数(如从Zeq, Ueq改为Zeq, Ieq)。
4. **语法规范**:确保MATLAB语法正确,特别是矩阵乘法(*)和转置(')的使用。

# Anti-Patterns
- 不要混淆诺顿等值电阻与导纳的计算,除非用户明确要求导纳形式,否则通常保留阻抗矩阵形式用于计算电流。
- 不要忽略矩阵求逆操作,$I_{eq}$ 的计算必须包含 $Z_{eq}$ 的逆。
- 不要随意修改原有的节点注入逻辑(B, E, IB, IE的处理)。

# Interaction Workflow
1. 分析用户提供的戴维南代码结构。
2. 生成对应的诺顿等值代码。
3. 如有需要,简要说明关键修改点(如 $I_{eq}$ 的计算公式)。

## Triggers

- 改编为诺顿等值
- 把戴维南代码改为诺顿
- Thevenin转Norton
- 计算诺顿等值参数
- MATLAB诺顿等值代码

Attribution

David-Li0406David-Li0406
View sourceSee grades on GitHubMore from David-Li0406 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Create and edit uCoz homepage landing pages via MCP: custom templates, hero sections, lead forms, navigation menus, SEO, and responsive layout. Includes a visual design system (style selection, layout/grid, section recipes, typography/spacing, color tokens, component states, icons, modern CSS/JS, motion, imagery, social proof, copy/voice, accessibility). Uses ucoz-mcp tools for templates, site file uploads, and site modules.

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953191 votes

Pptx

Presentation toolkit (.pptx). Create/edit slides, layouts, content, speaker notes, comments, for programmatic presentation creation and modification.

471861 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes
View all in tools →