Writing an Equation Help
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hi all,
I'm new to MATLAB and was wondering if anyone could help me insert the following code into MATLAB. (the one the starts with 2pi/N)

Thank you!
1 个评论
Guillaume
2019-10-25
Have you written the code for the function
? Is this function designed to work with non-scalar θ I.e. if you call it with:
? Is this function designed to work with non-scalar θ I.e. if you call it with:S(10, linspace(0, 2*pi, 10)) %f = 10, theta is a vector of 10 elements
do you get an error or do you get a vector of 10 elements as output?
The answer to this will change the way to code that summation.
回答(0 个)
此问题已关闭。
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!