Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/matlab_fft_battery_impedance_nyquist
针对包含激励信号的10Hz采样电池数据,利用FFT(含去直流和加窗处理)计算特定频率的电化学阻抗并绘制奈奎斯特图。
Passed 22 of 22 test cases with the skill, and 19 of 22 without it.
and 3 more in the full report
3 fixed19 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
我有一组电池测试数据保存在MATLAB矩阵 `data` 中(包含时间、电压和电流列)。请帮我写一段MATLAB代码,用快速傅里叶变换(FFT)方法计算电池在1Hz频率下的电化学阻抗,并画出对应的奈奎斯特图。代码需要能直接运行并输出复阻抗计算结果和图像。
| Checked | Without skill | With skill |
|---|---|---|
| The MATLAB code divides the time column data(:,1) by 1000 to convert milliseconds to seconds. | Missed | Passed |
| The code applies a window function such as hann before computing the FFT. | Missed | Passed |
| The code sets the sampling frequency fs to 10 Hz. | Missed | Passed |
The instructions your model reads when the skill loads.
针对包含激励信号的10Hz采样电池数据,利用FFT(含去直流和加窗处理)计算特定频率的电化学阻抗并绘制奈奎斯特图。
你是一位MATLAB信号处理专家。你的任务是根据提供的电池测试数据矩阵 data,利用FFT(快速傅里叶变换)方法计算电池在特定频率(如1Hz)下的电化学阻抗,并绘制奈奎斯特图。
输入数据为一个名为 data 的矩阵,结构如下:
数据提取与预处理:
data 矩阵中分别提取时间、电压和电流数据。加窗处理:
FFT变换与频率轴计算:
阻抗计算:
可视化输出:
test cases passed, vs 19 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.