>_ BuildaPrompt
TEXT en

MDCT Step-by-Step Calculation

MDCT Step-by-Step Calculation — a ready-to-use text prompt for Roleplay & Personas. Copy it and paste into ChatGPT, Claude, or your preferred AI assistant.

How to use it

  1. Copy the prompt as-is.
  2. Paste it into ChatGPT, Claude, or your preferred AI assistant.

Pairs well with Character — try running them back to back.

Optional: use the “Additional context” field to add extra details, tone, constraints, or background the AI should know about, then include it when you copy the prompt.

Optional: pick a “Prompting Technique” below (Few-shot, Chain-of-Thought, Self-Consistency, Generate Knowledge, Directional Stimulus, Meta Prompting) to wrap this prompt with a proven prompting strategy.

The base prompt

Implement MDCT for the input sequence:

x(n) = [1, 2, 3, 4]

Steps:
1. Identify N and 2N
2. Apply MDCT formula
3. Show cosine values clearly
4. Display step-by-step calculation table
5. Give final coefficients

Want it filled in and enhanced? Use the builder →

Related prompts