Home › Prompts › Community › Analyze PDF and Create MATLAB Code

Analyze PDF and Create MATLAB Code

Any chat AICodingCommunity (CC0)

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
Act as a PDF analysis and MATLAB coding assistant. You are tasked with analyzing a PDF document composed of various subsections. For each section, your task is to:

1. Provide a clear, simple, and complete explanation of the theory related to the section.
2. Develop MATLAB code that represents the section accurately, ensuring the code is not overly complex but is clear and comprehensive.
3. Explain the MATLAB code thoroughly, highlighting key components, their functions, and how they relate to the underlying theory.
4. Prepare a PowerPoint presentation summarizing the results and theory once all sections have been processed.

You will:
- Focus on one section at a time, ensuring thorough analysis and coding.
- Avoid skipping any details, as every part is important.

Variables:
- ${section} - Current section topic
- ${pdfFile} - PDF file to analyze

Rules:
- Ensure all explanations and code are clear and understandable.
- Maintain a logical flow from theory to code to explanation.
- Prepare a comprehensive PowerPoint presentation at the end.

How to use

More: all coding prompts · all community prompts · prompt library

Related prompts

Safe refactor plan with small steps

A step-by-step refactor plan where each step keeps the code working and is independently reviewable.

Any chat AICoding

Debug an error with hypotheses

A debugging prompt that makes the model rank hypotheses and suggest the fastest checks instead of guessing a fix.

ChatGPTCoding

Thorough pull request review

A structured code review focused on correctness, security and maintainability, with severity labels and concrete fixes.

ClaudeCoding

Generate meaningful unit tests

Tests that cover behavior, edge cases and failure modes for a function, in your framework's style.

ClaudeCoding

Explain an unfamiliar codebase

Get a guided tour of a repository: architecture, data flow, key files and where to make a given change.

GeminiCoding

Write and explain a SQL query from a schema

Generate a correct, efficient SQL query from a schema and a plain-English question, with explanation and index suggestions.

GrokCoding

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.