Info
This question is closed. Reopen it to edit or answer.
'Not enough input argument'
1 view (last 30 days)
Show older comments
Hi there,
I am trying to program for some estimation and correction techniques of IQ imbalance; i am currently trying to work on this code:
function f = myfun2(w,z)
y=z(1:end-1);
N=z(end);
T=(1:N)';
zhat = exp(1i*w*T);
Zhat = [zhat conj(zhat) ones(N,1)];
D=Zhat;
f= -y'*D*inv(D'*D)*D'*y;
but when i run it, it keeps coming up with 'not enough input argument'. Can someone please help me?
2 Comments
Ben11
on 18 Nov 2014
If you press the run button in the editor this error will likely occur. Try calling the function in the command window with 2 arguments.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!