Community Profile

photo

nickey


International Burch University

2013년부터 활동

통계

Content Feed

보기 기준

질문


Coefficient for Langrange Polynomial n=length(x); for k=1:n d(k)=1; for i=1:n If i~=k d(k)=d(k)*(x(k)-x(i)); end c(k)=y(k)/d(k); end end Evaluate Langrange Polynomial function p=LangrangeEval(t,x,c) m=length(x); for i=1:length(t) p(i)=0; for j=1:
Hello everyone. I need help for understanding this code. Thanks Coefficient for Langrange Polynomial n=length(x); for k=1:...

거의 11년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Hi ,please help , I need to plot signals u(t-3),u (t+1), z(-t-3),,z(2t+2),u(-2n-1) and u(3n+2) using subplot and add title ,grid and axis labels
t=[-4:0.2:4]; n=[-2:0.1:2]; subplot(3,2,1) plot(t,heaviside(t-3)) grid on; title('Time shifted signal') xlab...

거의 11년 전 | 0

질문


Use Newton’s method in a script to solve the following (you may have to experiment a bit with the starting values). Check all your answers with fzero. Check the answers involving polynomial equations with roots.
Hellooo I have this problem to solve, but Iam new in matlab solving so even I dont know how to start. Any help will be valued...

거의 11년 전 | 답변 수: 0 | 0

0

답변

질문


Is this code ok?It asked to plot function together with hold on...syms x y; t=-2:0.1:2 n=-2:0.1:2 x=2*sin(4*pi*t); y=2*sin(4*pi*n); plot(t,x,'r',n,y,'g'); hold on; title('function'); legend('x function', 'y function'); grid on;
Is this code ok?It asked to plot function together with hold on. But when I run code,I have just y function ? syms x y; ...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


Hi ,please help , I need to plot signals u(t-3),u (t+1), z(-t-3),,z(2t+2),u(-2n-1) and u(3n+2) using subplot and add title ,grid and axis labels
Its about plotting signals in matlab using subplot.

거의 11년 전 | 답변 수: 2 | 0

2

답변