write a function to sum some elements
显示 更早的评论
I'm trying to solve this
Write a function called square_wave that computes the sum sin 2
回答(1 个)
Walter Roberson
2015-6-1
total = 0;
for K = 1 : 10
total = total + some value
end
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!