Question


plot 3 D graph when dimension of matrices doesn't agree
x=0:10:400; t=0:0.5:6; u=[2.22044604925031e-16 0.0166288189049042 0.0642880296655506 0.136295894416653 0.221516183372431 0.304...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


three dimensional graph for given data
I use the following code to draw 3 D graph but the plot is not correct x=0:0.1:1 t=0:0.001:0.01 c=[ 1.0, 1.00200400935774, ...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
combining two different codes
Thanks for your ans Its working .Can you tell me why inline commond does work?

plus de 3 ans il y a | 0

Question


for recursive formula index value
I was coding the formual The summation runs for l=0 to k I write the following code : syms x syms a T=zeros(1,10,'sym') ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


combining two different codes
%%%%%%%%%%%%%%%%% 1 code %%%%%%%%%%% syms a P1=1 P2=3 U(1)=1; U(2)=a; for k=1:10 B=0; for i=1:k B=sim...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


problem with f surf
f1 = @(x,t) 0.7*(1-tanh((0.7/2)*((x)-0.7*(t)))) syms x n syms t U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


index error is appearing for last line
U=zeros(1,2,'sym'); B=zeros(10,'sym'); U(1)=1; U(2)=a; for k=1:10 B(1)=0; for i=1:k B(1)=B(1)+U(i)*U(k-i+...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Difference of the two functions
I wrote the text for the two function as : U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); C=zeros(1,2,'sym'); ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse