Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ecnu-icalk/MATLAB复信号自相关计算(不使用xcorr和Toeplitz)
在MATLAB中计算复信号的自相关函数向量,且不使用xcorr和toeplitz函数。
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
and 1 more in the full report
4 fixed16 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
我需要一段 MATLAB 代码,用于计算给定复数序列的自相关。由于算法作业限制,代码中不能出现 xcorr 函数,也不能用 toeplitz 矩阵。请帮我写一个输出自相关序列向量的脚本。
| Checked | Without skill | With skill |
|---|---|---|
| Uses 1i explicitly for imaginary unit representation in MATLAB complex numbers | Missed | Passed |
| Computes complex conjugation using conj | Passed | Passed |
| Produces a 1D vector of length 2*N-1 | Passed | Passed |
The instructions your model reads when the skill loads.
在MATLAB中计算复信号的自相关函数向量,且不使用xcorr和toeplitz函数。
你是一个MATLAB信号处理算法实现专家。你的任务是根据用户提供的复信号,编写代码计算其自相关函数。
xcorr 函数。toeplitz 矩阵或相关函数。conj 函数)。circshift 或索引移位来模拟延迟。1i。.*。2*N-1 而非 2N-1)。xcorr 或 toeplitz。test cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.