Community Profile

photo

Surath Ghosh


Last seen: 5 months ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Please help me to find the errors in my code for predictor corrector method.
I have written the code but it is unable to produce correct result. Can anybody help me to find the errors in the above code?

6 months ago | 1 answer | 0

1

answer

Question


I got an error as symbolic function expected 3 inputs and received 1 in the line no 5 (g1{r}(u)=g1{r}(u)+(u{i}-u1(i))./5*chebyshevT(i-1,2*x(r)-1)). How can I fix that?
m=3; u=sym('u',[1,m]); g1 = cell(m+1, 1); for r=1:m-1; g1{r}(u) = sym(0); for i = 1 : m+1 g1{r}(u)=g1{r}(u)+(u{i}-...

1 year ago | 2 answers | 0

2

answers

Question


How can I store symbolic variables and symbolic functions in a array?
How can I store symbolic variables and symbolic functions in a array?

1 year ago | 3 answers | 0

3

answers

Question


How can we define a function with variables which are in the for loop and function is also under for loop?
I want to define the function as For i=1:100 fi(x0,x1, x2, ....xi)=x0^2+x1^2+.....xi^2 end where for loop is on the function...

1 year ago | 2 answers | 0

2

answers