t = 2 s, i = โˆšโˆ’1, and ๐œ”=120ฯ€ rad/s. Evaluate the following using MATLAB? Hint: exp(n) is used in MATLAB to evaluate en. (a) eโˆ’2๐‘ก๐‘o๐‘  (๐œ”๐‘ก)

์กฐํšŒ ์ˆ˜: 2 (์ตœ๊ทผ 30์ผ)
Muhammad  Kashif
Muhammad Kashif 2022๋…„ 4์›” 18์ผ
๋Œ“๊ธ€: Sam Chak 2022๋…„ 4์›” 19์ผ
t = 2 s, i = โˆšโˆ’1, and ๐œ”=120ฯ€ rad/s. Evaluate the following using MATLAB? (a) eโˆ’2๐‘ก๐‘o๐‘  (๐œ”๐‘ก)
  ๋Œ“๊ธ€ ์ˆ˜: 3
Rik
Rik 2022๋…„ 4์›” 18์ผ
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.
Sam Chak
Sam Chak 2022๋…„ 4์›” 18์ผ
Are you trying to tell us that you don't know how to input n because there is no superscript on the "e" in the expression ?
You probably want to ask, "Can I put nothing in the argument?"
exp()

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

๋‹ต๋ณ€ (1๊ฐœ)

James Tursa
James Tursa 2022๋…„ 4์›” 18์ผ
ํŽธ์ง‘: James Tursa 2022๋…„ 4์›” 18์ผ
I am guessing that the original expression shown is supposed to be interpreted as:
Then take the hint at how to evaluate the part, and I am guessing the hint is supposed to read: exp(n) is used to evaluate
But this is just a guess, and that doesn't explain why there is a definition of i in your assignment. Maybe you can post an image of the actual assignment so we can be sure what is really being asked?
  ๋Œ“๊ธ€ ์ˆ˜: 1
Sam Chak
Sam Chak 2022๋…„ 4์›” 19์ผ
@James Tursa, guess you're right.
t = 2;
omega = 120*pi;
y = exp(- 2*t)*cos(omega*t)
But still, I wonder why is given.

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Programming์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2007b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by