Clear Filters
Clear Filters

Need help for mathematics problem.Signals and Systems and Newton method.

1 view (last 30 days)
Hello guys, I'm new here and for the first time I start using MatLab. I have some questions from my teacher that I need to be solve, but because I'm still nooby in this program I don't know how to do it, that's why I write here and ask for some help.problem 2.pngproblem 3.png
  4 Comments
Todor Kereziev
Todor Kereziev on 29 Sep 2019
I just did this, and I don't know if it's true. And after that I don't know what I can do.
fy=1; %frequency in Hz
wy=2*pi*fy; %signal frequency
fs=8; %sampling frequency
t=0:4; %time interval
y=sin(2*pi*t); %signal data set
plot(t,y)

Sign in to comment.

Answers (1)

Asvin Kumar
Asvin Kumar on 3 Oct 2019
Consider modifying the following code for the question related to sampling:
fy=1; %frequency in Hz
wy=2*pi*fy; %signal frequency
fs=8; %sampling frequency
% fs can maybe take values 2*fy-0.1, 2*fy+0.1, 8*fy
t=0:1/fs:4; %time interval
y=sin(wy*t); %signal data set
plot(t,y)
You can adapt details from the links provided below for the remaining questions.
There is a file for Newton’s Method from the community on File Exchange here: https://www.mathworks.com/matlabcentral/fileexchange/28227-newton-s-method

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!