Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Writing an Equation Help

조회 수: 3 (최근 30일)
Landon Sugar
Landon Sugar 2019년 10월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
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
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:
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!

Translated by