MATLAB: Will I get below error? What might be the error kplot=3*sin(2*pi*t+pi/2 plot=3*sin(2*pi*t+pi/2,'.-k'); While I was trying to run the code it is showing error like too many input argument using sin. Best Answer plot(3*sin(2*pi*t+pi/2),'.-k') Related SolutionsMATLAB: Complex closed contour integral fun=@(z)(z+1)/(z^3-2*z^2); g=@(theta)2+cos(theta)+1i*sin(theta);gprime=@(theta)-sin(theta)+1i*cos(theta);q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)Best wishesTorsten. MATLAB: Can i plot spectrum of a signal in Matlab Fs = 1000;t = 0:1/Fs:1-(1/Fs);x = 14*cos(200*pi*t-pi/3);xdft = (1/length(x))*fft(x);freq = -500:(Fs/length(x)):500-(Fs/length(x));plot(freq,abs(fftshift(xdft))); Related QuestionError using cos Not enough input arguments. HELPStrange problem in plottingHow to plot a periodic signal f(t)= t.^3 , -pi<=tPlotting quadratic f(t) = t^3Integrand function must return an output vector of the same length as the input vector
Best Answer