Mohammad Monfared


Actif depuis 2006

Followers: 0   Following: 0

Message

Statistiques

All
  • First Submission
  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


How to know a function triggered a warning
Hi everybody, In my code, I'd like to know, programmatically, whether a function ('nlinfit') produced a warning or not. How c...

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

0

réponse

Question


How to fit a log-normal dist. to data in x-data and y-data format using 'lognfit'?
Hi, This is the problem: I have a set of points to which I'd like to fit the log-normal distribution. I have two vectors for ...

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

1

réponse

Question


How the 'adaptmesh' is supposed to work when there is solution only by refining the mesh?
Hi, The problem I'm struggling with is a nonlinear elliptic pde. working with 'pdenonlin', it converges to the solution only ...

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

0

réponse

Question


'step size too small' when solving with 'pdenonlin' even when the initial guess of solution is almost excatly the solution!
Hi, I'm trying to solve an elliptic PDE using 'pdenonlin' function. I can get the solution in 1-D by another approach but whe...

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

0

réponse

Question


Mesh size largly differes in 'parabolic' and 'pdenonlin' functions to give a solution.
Hi, I'm going to solve an elliptic PDE where the gradient of solution is extremely large in a specific portion of the domain....

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

0

réponse

Question


PDE Coefficients in the pde toolbox
Hi, I'm going to solve the following elliptic equation in a domain which consists of two materials: <</matlabcentral/a...

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

0

réponse

Réponse apportée
Mass balance issue when solving an elliptic diffusion problem using pde toolbox
The issue was that the Jacobian has to be calculated using 'full' parameter, not 'fixed' or 'lump' and decreasing th 'Tol' in pd...

plus de 10 ans il y a | 0

| A accepté

Question


problem in calculating flux in pde toolbox
Hi everybody, I'm trying to calculate and plot the flux terms in the following equation in the pde toolbox: <</matlabcen...

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

0

réponse

Question


Mass balance issue when solving an elliptic diffusion problem using pde toolbox
Hi I'm trying to solve a diffusion like, elliptic equation using pde toolbox. I used 'pednonlin' function but the answer I ge...

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

1

réponse

Question


How to calculate gradiant at mesh points in pde toolbox and one more question?
I'm going to calculate grad(u) at mesh points in pde toolbox. Is this a good way? : [ux1,uy1] = pdegrad(p,t,u) ; ux = pdep...

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

0

réponse

Question


How to generate regular mesh in pde toolbox? (in a mutiple subdomain geometry)
hi everybody, I'd like to generate regular mesh on the following domain: <</matlabcentral/answers/uploaded_files/6807/...

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

1

réponse

Réponse apportée
How to find position of something
Suppose you have a column or row vector named 'A', find(isnan(A))

plus de 10 ans il y a | 0

Question


Is it possible to run ODE solver till the answer gets a specified value?
Hi, How can I stop the solving process of an ode when the solution reaches a specified value? Is it possible at all? th...

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

0

réponse

Réponse apportée
How Can I union four non-equal size vector in matlab?
To union two vectors they should be of the same kind, row vectors or column vectors. if they are row vectors; v=[v1, v2]...

plus de 10 ans il y a | 0

Question


Is there a straight way to solve a general first order PDE using matlab (or the pde toolbox)?
Need to solve a nonlinear 1st order pde, and have searched matlab documentations with no success. PDE toolbox has suitable f...

plus de 10 ans il y a | 1 réponse | 1

0

réponse

Réponse apportée
Collapsing a cell array of cell arrays and matrices into a cell array of mixed data types
Hi, How about this simple code: for i=1:250 for j=1:189 DataCols_new{j,i} = DataCols{1,i}(j,1) ; en...

plus de 10 ans il y a | 0

Réponse apportée
How to replace elements different than 0 and different than NaN to 1?
Let the matrix name, A, so this is done by: A(xor((A~=0),isnan(A))) = 1 ;

plus de 10 ans il y a | 0

| A accepté

Question


Need help finding the right PDE coefficients of this equation
Hi everybody, I can't figure out what are the coefficients of this equation in comparison with PDE toolbox parabolic equation...

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

0

réponse

Question


Strange behaviour of pde-toolbox in labeling or a bug?
Hi, I'm new to pde-toolbox but this is kinda weird to me: let's draw some rectangles in PDE Tollbox like: <</matlabce...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


What are coefficients of this PDE compared to pde-toolbox (parabolic) syntax?
Hi, my equation of interest is: <</matlabcentral/answers/uploaded_files/648/eq1.JPG>> what are the coefficients of th...

presque 11 ans il y a | 1 réponse | 0

0

réponse

Question


Nonlinear system of equations with constrains
Hi every body, I have 4 nonlinear equations and 4 unknowns to be solved. but my unknowns are constrained. So I can't use some...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


How ode-family functions approximate solution at specified tspan values?
I'm trying to model a software package DE solving scheme using Matlab. I need to know how ode-family functions approximate the a...

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

1

réponse

Question


Problem with 'datevec' function ... I think a bug!
First I should denote my Matlab version is R2011a. It's simple: running the simple code below ans = datevec(input,'dd/mm/yyy...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


How to create non-repetitive random integers
Hi, As the title suggests I want to create non-repetitive random integers but don't know how to... say 70 integers ranging f...

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

3

réponses