seqperiod function error for complex data

2 次查看(过去 30 天)
z=[1+i, 2+3i, 1+i, 3+4i];
[r, num]= seqperiod(real(z)');
[s, num]= seqperiod(imag(z)');
It returns r as 4 and num as 1. Same is coming for s.
But I expect r=2 and num=1
I need your help.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by