Mohammad Monfared


Attivo dal 2006

Followers: 0   Following: 0

Messaggio

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


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

circa 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

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

oltre 10 anni fa | 0

| accettato

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

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

oltre 10 anni fa | 0

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

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

oltre 10 anni fa | 0

Domanda


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

oltre 10 anni fa | 0 risposte | 1

0

risposte

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 3 risposte | 0

3

risposte

Inviato


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

oltre 18 anni fa | 1 download |