How can I find the solution I already failed to solve 15 times.
linearly spaced is a good hint
question is easy, but you need to use linspace(min,max,n) to generate a array.
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;
I couldn't identify what went wrong
Read the expression in the question again carefully
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?
I didn't understand why my code not working here,it worked on my Matlab but not here.
Read the problem statement again carefully.
Arrange Vector in descending order
4563 Solvers
1186 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
4289 Solvers
Change the sign of even index entries of the reversed vector
312 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!