Problem 44948. Calculate a Damped Sinusoid
Solution Stats
Problem Comments
-
3 Comments
How can I find the solution I already failed to solve 15 times.
Try reading the question again carefully and make sure you understand the linearly spaced part. It's a tricky one.
I think i need explanation for this concept :
The vector t should be linearly spaced from 0 to T, with N elements.
if I do, a = 1:6, the ans is 1 2 3 4 5 6
but now if i do, a = 1:2:6, ans is 1 3 5
so for linear distributed vector to reach end point 6, we need to do,
a = 1:(6-1)/(6+1):6 --------similarly can it be done as t = 0:(T-1)/(T+1):T? what is the concept in the words 'linearly spaced'?
Solution Comments
-
2 Comments
I incorrectly grouped the variables in solving for y so my code was wrong. Be careful on using parentheses!
I had the same problem initially
-
1 Comment
tricky
-
1 Comment
Good problem
-
2 Comments
Who can recognize that symbol is "e" ???
Yeah same, had to zoom in and see
-
1 Comment
linearly spaced is a good hint
-
1 Comment
question is easy, but you need to use linspace(min,max,n) to generate a array.
-
4 Comments
here is the solution i didn't know what is wrong i tried many times can you help me please
y=A*exp(-lambda*t).*cos(2*pi*f*t);
You are assuming the value of some variables which should not be the case.
Also, it's best to not post solutions (or solution attempts) in comments. Questions or comments specific to a solution can be posted in a comment tied to said solution or solution attempt.
the solution is right. maybe this can be helpful.
t=1:T/(N-1):T;
A and f must in solution
-
2 Comments
I couldn't identify what went wrong
Read the expression in the question again carefully
-
3 Comments
I am not getting the error in my code.Though,its working in MATLAB script.please help
Anyone who has solved the problem, please help.I have developed the code according to the details and it's working well in matlab. I dont know why it is incorrect here.
Did you check the online and offline MATLAB's version?
-
2 Comments
I didn't understand why my code not working here,it worked on my Matlab but not here.
Read the problem statement again carefully.
Problem Recent Solvers7062
Suggested Problems
-
8138 Solvers
-
First non-zero element in each column
771 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
8214 Solvers
-
355 Solvers
-
6527 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!