photo

nickey


International Burch University

Con actividad desde 2013

Followers: 0   Following: 0

Mensaje

Estadística

Feeds

Ver por

Pregunta


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

más de 11 años hace | 0 respuestas | 0

0

respuestas

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

más de 11 años hace | 0

Pregunta


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

más de 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 11 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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.

más de 11 años hace | 2 respuestas | 0

2

respuestas