Mohammad Monfared


Active since 2006

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

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

mer än 9 år ago | 0 answers | 0

0

answers

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

mer än 9 år ago | 1 answer | 0

1

answer

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

mer än 10 år ago | 0 answers | 0

0

answers

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

mer än 10 år ago | 0 answers | 0

0

answers

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

mer än 10 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 0

| accepted

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

nästan 11 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

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

nästan 11 år ago | 0 answers | 0

0

answers

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

nästan 11 år ago | 1 answer | 0

1

answer

Answered
How to find position of something
Suppose you have a column or row vector named 'A', find(isnan(A))

nästan 11 år ago | 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...

ungefär 11 år ago | 0 answers | 0

0

answers

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

ungefär 11 år ago | 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...

ungefär 11 år ago | 0 answers | 1

0

answers

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

ungefär 11 år ago | 0

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

ungefär 11 år ago | 0

| accepted

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

ungefär 11 år ago | 0 answers | 0

0

answers

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

ungefär 11 år ago | 2 answers | 0

2

answers

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

ungefär 11 år ago | 0 answers | 0

0

answers

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

ungefär 11 år ago | 1 answer | 0

1

answer

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

mer än 11 år ago | 1 answer | 0

1

answer

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

mer än 12 år ago | 1 answer | 0

1

answer

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

mer än 12 år ago | 3 answers | 0

3

answers

Submitted


light deflection in a glass sphere
Observing the action of parallel light beams facing with a glass sphere.

mer än 18 år ago | 1 download |