Alternatively, using a cell array of anonymous functions: 테마복사 xg= 7*2*5*1*6*3; xh= 3/10; F1=3; F2=100; T= 1/500; xkt1=cell(1,15); for i= 0:14 xkt1{i+1}= @(k1)xg*sin(2*pi*F1*(k1.*T-i*T)); end xkt1 xkt1 = 1×15 cell array {@(k1)xg*sin(...
If FUN is an array-valued integrand, set the 'ArrayValued' option to true.when i turn ArrayValued option on it gives another errormyfittype = fittype(... '(integral(@(xi)( (1/pi*(0.1375*sqrt(2*pi)))*exp(-(xi-2.75).^2/(2.0*0.01890625))./((xval+0.09793600169767440*2*xi-...