余弦累加函数作图问题。
이전 댓글 표시
a=-pi/4:pi/999:pi/4;
n=2:2:1000;
y1=0.3/sum((cos(n.*(pi/9))./((n.^2-1).^2))).*sum(cos(n.*(pi/9)).*cos(n.*a)./((n.^2-1).^2));
plot(a,y1);
这个求出来y1只有一个结果,图像是空的,是缺了循环吗?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!