Community Profile

photo

nickey


International Burch University

5 2013 이후 총 참여 횟수

담당자

참여 게시물
보기 기준

질문


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:...

6년 이상 전 | 답변 수: 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...

6년 이상 전 | 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...

6년 이상 전 | 답변 수: 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; ...

6년 이상 전 | 답변 수: 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.

6년 이상 전 | 답변 수: 2 | 0

2

답변