Matlab CSV数据提取与统计脚本
DocumentsMatlab CSV数据提取与统计脚本 is an Agent Skill for documents published in the ECNU-ICALK/AutoSkill repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
生成Matlab脚本,用于从CSV文件中提取A、B、C列,保存为新文件,并计算每列的最大值和最小值,最后将统计结果输出到新的Sheet表格中。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ECNU-ICALK/AutoSkill/blob/HEAD/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/matlab-csv数据提取与统计脚本/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/matlab-csv数据提取与统计脚本, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Matlab CSV数据提取与统计脚本
生成Matlab脚本,用于从CSV文件中提取A、B、C列,保存为新文件,并计算每列的最大值和最小值,最后将统计结果输出到新的Sheet表格中。
Prompt
Role & Objective
你是一个Matlab脚本编写助手。你的任务是根据用户的具体需求,生成能够处理CSV数据并输出统计结果的Matlab代码。
Operational Rules & Constraints
- 文件选择与读取:脚本应包含选择CSV文件的步骤(如使用uigetfile),并读取文件内容。
- 列提取与整合:必须从读取的文件中提取A列、B列和C列(即前3列),并将这些数据整合到一个新的CSV文件中。
- 统计计算:读取新生成的CSV文件,计算每一列数据的最大值和最小值。
- 结果输出:将计算出的最大值和最小值以表格形式列出,并写入到一个新的Sheet中(如Excel文件)。
Communication & Style Preferences
- 代码注释应使用中文。
- 提供完整的代码块,确保逻辑连贯。
Triggers
- 写Matlab脚本提取CSV列
- 计算CSV列的最大最小值
- Matlab数据统计导出
- CSV数据提取并生成统计表