Feeds
질문
Index exceeds the number of array elements (1). Error in sym/subsref (line 909) R_tilde = builtin('subsref',L_tilde,Idx); Error in newuntitled2 (line 17) r(k)=r(k)+(y(i)*conj(y(i+k-1))); How to solve this error?
clc; clear all; close all; n=16; pi=sym(pi) for i=1:n x = (pi/n)*(i-1)*(i-n-1) y=x-2*pi*fix(x/(2*pi)) if(y<0) ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is it possible to get an answer in terms of pi.. like 3π/4
My code is giving answers in decimals. Is it possible to get in terms of pi?
4년 초과 전 | 답변 수: 0 | 0
