# Mehdi

Last seen: 3 months ago Active since 2013

Followers: 0   Following: 0

#### Feeds

View by

Question

Could anyone explain the example provided in thr help for understanding the use of fft?
I am trying to understand the using of fft in matlab, regarding the provided example in help I could not figure out what the f i...

3 months ago | 2 answers | 0

### 2

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

6 months ago | 1 answer | 0

### 1

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

6 months ago | 1 answer | 0

### 1

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

7 months ago | 3 answers | 0

### 3

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

7 months ago | 3 answers | 0

### 3

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

8 months ago | 1 answer | 0

### 1

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

8 months ago | 2 answers | 0

### 2

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

8 months ago | 1 answer | 0

### 1

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

8 months ago | 2 answers | 0

### 2

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

9 months ago | 3 answers | 0

### 3

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

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

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

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

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

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

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 2 answers | 0

### 2

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

2 years ago | 2 answers | 1

### 2

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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]

2 years ago | 1 answer | 0

### 1

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

2 years ago | 1 answer | 0

### 1

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

2 years ago | 0 answers | 0

### 0

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

2 years ago | 1 answer | 0

### 1

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

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

2 years ago | 1 answer | 0