基本信息
文件名称:MATLAB脚本实现求函数及绘图分析.pdf
文件大小:237.84 KB
总页数:4 页
更新时间:2026-02-05
总字数:约4.43千字
文档摘要

i

n1.WriteanMscriptfiletocalculatesum(n)?i.1)Plottherelationship

weennandsum(n50);2)i1whenn=100,thevalueofsum.

%clcclearoffMax_n=input(Please

enterthenumber);y

zeros(1,Max_n);fori=1:Max_nforj