Community Profile

photo

Surath Ghosh


Last seen: Today Actif depuis 2020

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

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

4 jours il y a | 1 réponse | 0

1

réponse

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?

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

1

réponse

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

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

2

réponses

A répondu
How can I store symbolic variables and symbolic functions in a array?
Thanks a lot Sir.

plus de 3 ans il y a | 0

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?

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

3

réponses

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

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

2

réponses