提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

已回答
combining two different codes
Thanks for your ans Its working .Can you tell me why inline commond does work?

3 years 前 | 0

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答