Community Profile

photo

Mehdi


Last seen: 20 days ago Active since 2013

Statistics

  • Thankful Level 4
  • First Review

View badges

Content Feed

View by

Question


MATLAB parfor is slower than for -- any help to speed up of my loop cacluations within KDL function?
II=9; JJ=9; M=11; W=rand(II+1,JJ+1,3,M); k_d=01e12; syms x y for i=1:II+1 for j=1:JJ+1 lgij(i,j) = legendreP...

2 months ago | 1 answer | 0

1

answer

Question


How I can draw two animated plots on one plot at the same time with different colours to compare them online?
I want to add another animated line (0.4^i) to the current figure with blue line to compare them online in one figure. How is it...

2 months ago | 1 answer | 0

1

answer

Question


Problem in solving matrix diiferential equation using ode45?
Where is the problem in my code I could not solve a matric differential equations ? M=[7.92982501567794e-08 7.16408455108792e-1...

2 months ago | 3 answers | 0

3

answers

Question


Is there anyway to increase the calculation speed of this sqrt integral2 without loosing accuracy?
Any suggestion to increase the calculation speed of this integral2? g = @(xx,yy)sqrt((xx.*1.103872343207215e+1-yy.*3.6055448737...

3 months ago | 3 answers | 0

3

answers

Question


Does anybody know what the exact meaning of the following command?
Does anybody know what the exact meaning of the following command? D = @(x,y)f(x,y).*(g(x ,y)>0); If it possible, an...

3 months ago | 1 answer | 0

1

answer

Question


How to count number of terms in a symbolic expression?
I have a long symbolic expression composed of many terms. How is it possible to count the total number of terms of my expression...

3 months ago | 2 answers | 0

2

answers

Question


Integration of real variable function on arbitrary interval.
My symbolic variable is defined to be real, but when I integrate my function over a predefined rbitrary interval the integrate t...

3 months ago | 1 answer | 0

1

answer

Question


Any availiable function to find the Taylor series of multi variables function in Matlab?
I am looking for a ready to use function in Matlab to find the Taylor expansion of a functions with two or more variables (e.g. ...

3 months ago | 2 answers | 0

2

answers

Question


How to find the maximum of a 2d function in specific interval?
I have a 2d function generated from loops, now I want to find the maximum value of that function in specific interval ( -1<(x,y)...

4 months ago | 3 answers | 0

3

answers

Question


Is there any Matlab finction to compute an integration using Rmberg method?
Please let me know if there is any build in function in Matlab that calculates the double integration of a function using Romber...

1 year ago | 1 answer | 0

1

answer

Question


Why receive error Integrand output size does not match the input size?
Where is the problem? clear syms x y f=0*x*y; Hf = matlabFunction(f,'Vars',[x y]) integral2(Hf,-1,1,-1,1);

1 year ago | 2 answers | 0

2

answers

Question


How to calculate a double integral inside the domain of intersection of two functions?
I want to calculate a double integral of an arbitrary function (f) inside the region of intersection of two other functions. Ple...

1 year ago | 1 answer | 0

1

answer

Question


Any comment, idea or innovation to calculate this parametric implicit integral?
Any comment, idea or innovation to calculate this parametric implicit integral? Note M, II, JJ are arbitrary positive integers ...

1 year ago | 0 answers | 0

0

answers

Question


Why receive Error using sub2ind (line 73) Out of range subscript. Error in sym/subsref?
Where is the problem in my codes that I faced error? M=1; a=[1,1,1,1] b=[1]; h=1; WW=rand(10,10,4,M) syms eta1 zeta1 eta2 ...

1 year ago | 1 answer | 0

1

answer

Question


Why Matlab could not solve a set of linear differential equations with initial conditions through dsolve?
Hi, Where is the problem in my codes to solve a set of linear differential equations with initial conditions? Any suggest? ...

1 year ago | 1 answer | 0

1

answer

Question


How to comute double integral of a long symbolic vector through parallel computing in Matlab?
Is there other ways to comute the double integral of a long symbolic vector through parallel computing in Matlab, except parfor?...

1 year ago | 1 answer | 0

1

answer

Question


Any comment to speed up the speed of caculation of symbolic loops having Legendre polynomials?
syms eta__2 zeta__2 II=12;JJ=11;M=22; Hvs2 = ((5070602400912917605986812821504*(zeta__2 + 2251799813683713/2251799813685248)^2...

1 year ago | 2 answers | 0

2

answers

Question


Why fsurf show anything for my function?
I have a two variable symbolic function. I want to plot it through fsurf, but nothing happened. Where is the problem? clear sy...

1 year ago | 2 answers | 1

2

answers

Question


How to assign a symbolic equation to previously defined numeric matrix?
I have a vector that at the first stage it contains numeric values, but later must be assigned by symbolic equations. How is it ...

1 year ago | 0 answers | 0

0

answers

Question


Simplest way to create a unit vector in Matlab?
I am trying to find the simplest way to create a unit vector with arbitrary number of elements in Matlab. for example V=[1 1 1...

1 year ago | 1 answer | 0

1

answer

Question


Any comment to speed up the sum calculation of a function which includes legendre polynomials?
Any comment to speed up the sum calculation of a function which includes legendre polynomials? f(x,y)=sum(sum(legendreP(i, x)*l...

1 year ago | 1 answer | 0

1

answer

Question


I have a loop command in Maple, do you know how to write it in Matlab?
I have a loop command in Maple, do you know how to write it in Matlab? for k to 11 do X[k+1] := eval(V-G1 . EQ, Equate(V, X[k...

1 year ago | 1 answer | 0

1

answer

Question


How to assign a symbolic matrix to another new matrix?
clc clear syms t ddq=zeros(4,11);%can not be deleted ddq(1:4, 1)=[sin(25*t); 55*sin(25*t);65*sin(25*t);0]

1 year ago | 1 answer | 0

1

answer

Question


What is the easiest way to import a text matrix into Matlab?
HI, I exported a symbolic matrix from Maple as a text file, and now want to import it to Matlab. What is the easiest way to im...

1 year ago | 1 answer | 0

1

answer

Question


What is the easiest way to calculate the triple integrate of a symbolic vector numerically without using for loop?
What is the easiest way to calculate the triple integrate of a symbolic vector with arbitrary length numerically without using f...

1 year ago | 0 answers | 0

0

answers

Question


What is the easiest way to calculate the triple definite integral of a symbolic vector over arbitrary domain without using for loop?
What is the easiest way to calculate the triple integral of a symbolic vector over arbitrary domain without using for loop? e,g,...

1 year ago | 1 answer | 0

1

answer

Answered
What is the best and quick way to find the intersections points set of two 3d surfaces?
Thanks All for the answers. I want to put this codes in a loop which changes f sequentially. There are situations where there ...

1 year ago | 0

Question


What is the best and quick way to find the intersections points set of two 3d surfaces?
Hi, I am looking for the easiest best and quick way to find the intersections points of two surfaces in which the points for ea...

1 year ago | 1 answer | 0

1

answer

Question


How to find the coefficient matrix of a set of nonlinear equations?
I want to find the coefficient matrix (A) of the following equations: f1 = (a+2*b+c+5*d)^3; f2 = (3*a+b+4*c+d)^3; f3 = (a+b+5...

2 years ago | 2 answers | 0

2

answers

Question


How to plot several 3D funztions (Z_n=f_n(x,y) with arbitrary intervals for each of them in one coordinate system?
I have two functions (Z1=f(x,y) and Z2=f(x,y)) want to plot in one coordinate system but with different intervals interval_Z1=[x...

2 years ago | 1 answer | 0

1

answer

Load more