Community Profile

# Mehdi

Last seen: 21 giorni fa Attivo dal 2013

#### Content Feed

Visto da

Domanda

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

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre un anno fa | 2 risposte | 1

### 2

risposte

Domanda

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

oltre un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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]

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

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

oltre un anno fa | 0

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

risposta