Analyze PDF and Create MATLAB Code
Analyze individual sections of a PDF to create clear and complete MATLAB code, along with explanations and a presentation.
Prompt template
- Format
- Text Parameterized
- Inputs
- reference_document (document) · Required
- Outputs
- result (text)
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.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${section}
section
Required
${pdffile}
pdffile
Required
What you'll create
The workflow moves one subsection at a time from theory to code and explanation. A closing PowerPoint summarizes the completed analysis.
Frequently asked questions
Is the presentation created before processing the PDF sections?
No. The source asks for it once all sections have been completed.
Comments
Tried this prompt? Share what you made, compare results, or ask a question