Community Profile

photo

Surath Ghosh


Last seen: Today Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How can I reduce the execution time of my code?
I wrote this code. it is working for m=32 and I am getting output with in 2 minutes. But if I am putting m=64, it is running. I ...

13 days ago | 2 answers | 0

2

answers

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?

2 years 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}-...

3 years 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?

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

3 years ago | 2 answers | 0

2

answers