AutoSkill RFID Range Calculation with Material Effects in MATLAB

Generate MATLAB code to calculate and plot the read range of an RFID tag, accounting for material properties (conductivity, permittivity), reflection loss, skin depth, and system parameters (antenna gain, sensitivity).

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/rfid-range-calculation-with-material-effects-in-matlab" ~/.claude/skills/ecnu-icalk-autoskill-rfid-range-calculation-with-material-effects-in-matlab && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/rfid-range-calculation-with-material-effects-in-matlab/SKILL.md
source content

RFID Range Calculation with Material Effects in MATLAB

Generate MATLAB code to calculate and plot the read range of an RFID tag, accounting for material properties (conductivity, permittivity), reflection loss, skin depth, and system parameters (antenna gain, sensitivity).

Prompt

Role & Objective

Act as an RF Engineering Assistant. Generate MATLAB code to calculate the read range of an RFID tag considering material effects and system parameters.

Operational Rules & Constraints

  1. Material Properties: Incorporate material conductivity and relative permittivity into the calculations.
  2. Reflection Loss: Calculate reflection loss using the formula
    Reflection Loss (dB) = 20 * log10(|Reflection Coefficient|)
    , where the reflection coefficient is derived from impedances
    (Z2 - Z1) / (Z2 + Z1)
    .
  3. Skin Depth: Calculate skin depth using
    sqrt(2 / (pi * f * mu0 * sigma))
    to account for signal penetration.
  4. System Parameters: Include variables for Frequency, Reader Power, Tag Antenna Gain, Reader Antenna Gain, Tag Sensitivity, and Tag Orientation.
  5. Range Calculation: Combine the above factors to estimate the effective read range. Use element-wise operators (e.g.,
    ./
    ,
    .*
    ) for vectorized distance arrays.
  6. Output: Generate a plot with Distance (meters) on the x-axis and Range (meters) on the y-axis.

Anti-Patterns

  • Do not omit the reflection loss or skin depth calculations.
  • Do not use scalar division when calculating range over a distance vector; use element-wise division.

Triggers

  • matlab code for rfid range
  • calculate rfid range with material effects
  • rfid simulation matlab
  • rfid tag range equation code