Community Profile

# Deepak Ramaswamy

### The MathWorks Inc

25 total contributions since 2012

Contributions in
View by

MATLAB Symbolic or MuPAD, How can i get a dependent variable of equation in terms of the other variables?
>> solve(y-x^2-z^3,x) ans = (- z^3 + y)^(1/2) -(- z^3 + y)^(1/2)

2 years ago | 0

Problem with large symbolic matrix in matlabFunctionBlock
If you still have the issue, could you just try matlabFunction(H, your variables) and see if the anonymous function is computed ...

2 years ago | 0

Differentiate symbolic composite function
Does this work? syms t at bt ct f = at*bt*ct*t; syms a(t) b(t) c(t) dfda = subs(diff(f,at),[at,bt,ct],[a(t),b(t),c...

2 years ago | 0

| accepted

help in propagation of uncertainty calculations
This file exchange entry may be of use: http://www.mathworks.com/matlabcentral/fileexchange/17901-propagation-of-uncertainty

2 years ago | 0

How can i solve Simultaneously pde in matlab ?
couple of ways - * <http://www.mathworks.com/help/matlab/ref/pdepe.html pdepe> for 1-D in space equations or if the symmetry...

2 years ago | 0

PDE in time varying domain
Patric, It would be helpful to get details on the PDE formulation that shows how the domain evolves. I assume domain refers t...

2 years ago | 0

Solved

How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

2 years ago

Solved

Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

2 years ago

Assign Values to Each Element of Symbolic Array
I really don't like this solution at all but does this work for you?: syms x1 x2 x3 x4 x5 X = [x1 x2 x3 x4 x5].'; val...

2 years ago | 0

| accepted

simplify the result from symbolic tool box
vpa(yourExpression,16) would give 2376416766.651975*exp(-130.000766*t) + 23583233.34802504 Is this the sort of thing ...

2 years ago | 0

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

2 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

2 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

What solver to use for parabolic equation?
You can try <http://www.mathworks.com/help/symbolic/vpasolve.html?searchHighlight=vpasolve vpasolve>, Symbolic Math Toolbox's nu...

3 years ago | 0

How can i solve elliptic pde using pdepe? I need the MATLAB form of the equation.
Most likely you will need to introduce an auxiliary variable, v and equation du/dt = v since pdepe does not handle d2u/dt2 terms...

3 years ago | 0

| accepted

How can I integrate PDE tools [for 2D heat transfer] into a Simulink model?
Wasim, Assuming that your heat transfer model is LTI, I would recommend extracting system matrices from your PDE model and co...

3 years ago | 0

Boundary conditions for pdenonlin
Q,G,H,R are alternative ways to specify boundary conditions for assempde() (static & linear case). Typically you would use them ...

3 years ago | 0

| accepted

solving coupled PDEs using method of lines
This is with regards to the second part of your question: This problem should be solvable via pdepe. I could not infer the form ...

3 years ago | 0

Export meshdata and solution from pdetool
If I understood correctly, the geometry does not change and only the pde coefficients change. If this is the case, I would recom...

3 years ago | 0

Teaching Physics webinar
Learn how you and your students can benefit from incorporating MATLAB in your physics curriculum

3 years ago | 21 clicks |

first order derivative in matlab pdetoolbox
ux, uy should be the way to specify the first derivatives. Could you post your PDE and the error that you are seeing? Deepak

4 years ago | 0

Where can I find the best tutorials/texts on how to export a solution of a PDE equation created in PDE toolbox to the command window to fit equations which include the PDE solution to real data?
For your point 3), in addition to Bill Greene's suggestions, it will be useful to look at the answer to http://www.mathworks....

4 years ago | 0

| accepted

Can pdetool() output the stream function?
Hello Uwe, I apologize - I had posted an answer before but that was very wrong so I deleted it :) I am not seeing any easy wa...

4 years ago | 0

| accepted