Community Profile

# Mehdi

Last seen: 2 mois il y a Actif depuis 2013

Followers: 0   Following: 0

#### Feeds

Afficher par

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

3 mois il y a | 1 réponse | 0

### 1

réponse

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

3 mois il y a | 1 réponse | 0

### 1

réponse

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

3 mois il y a | 3 réponses | 0

### 3

réponses

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

4 mois il y a | 3 réponses | 0

### 3

réponses

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

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

### 1

réponse

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

5 mois il y a | 2 réponses | 0

### 2

réponses

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

5 mois il y a | 1 réponse | 0

### 1

réponse

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

5 mois il y a | 2 réponses | 0

### 2

réponses

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

6 mois il y a | 3 réponses | 0

### 3

réponses

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

environ un an il y a | 1 réponse | 0

### 1

réponse

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

environ un an il y a | 2 réponses | 0

### 2

réponses

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

environ un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 0

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 2 réponses | 0

### 2

réponses

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

plus d'un an il y a | 2 réponses | 1

### 2

réponses

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

plus d'un an il y a | 1 réponse | 0

### 0

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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]

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

plus d'un an il y a | 1 réponse | 0

### 0

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

A répondu
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 ...

plus d'un an il y a | 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...

plus d'un an il y a | 1 réponse | 0

### 1

réponse

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

environ 2 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 2 ans il y a | 1 réponse | 0

réponse