Community Profile # 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:...

10年以上 前 | 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...

10年以上 前 | 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...

10年以上 前 | 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; ...

10年以上 前 | 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.

10年以上 前 | 2 件の回答 | 0