Community Profile Sergio Manzetti

Last seen: 7 months ago Active since 2017

Statistics

• Content Feed

View by

Question

Plotting a nice function
Hi, I have prepared the given code for the following function: syms r x y k z x = -10:0.3:10; y = x'; z = x + 1i*y; sca...

7 months ago | 1 answer | 0

1

Question

How to plot a sum with Bessel function in MATLAB?
Hi, I am trying to plot the given function in Cartesian form, Here I am to analyze the case of N=5, but when: syms k phi...

7 months ago | 0 answers | 0

0

Question

Solve ODE with BC
Hi, I would like to solve this ODE with initial conditions y=0 and y'=0, and boundary cond L=[0,1] using the given command: ...

1 year ago | 1 answer | 0

1

Question

Using sign function in Matlab
Hi, I try to run the following in MATLAB: [D,x] = cheb(N); D2 = D^2; D = D(2:N,2:N); D2 = D2(2:N,2:N); x = x(2:N); ...

1 year ago | 1 answer | 0

1

Question

Generating a spectrum for an PDE
Hi, I would like to generate the spectrum of the eigenvalues in complex space for a complex-valued Schrödinger equation: ...

1 year ago | 0 answers | 0

0

Question

Solving two equations with ODE45
Hi, I used the following command to solve one ODE fun = @(x,y)[y(2);y(3);(y(1)*(1-x^2))]; y0 = [1 0 8]; %y, y', y'' x...

4 years ago | 2 answers | 0

2

Question

How to stretch image in MATLAB online?
Hi, the image resulting from a calculation does not stretch properly across the window. How can this be done? Thanks <</ma...

4 years ago | 0 answers | 0

0

Question

PDE solver ? Which method with FEM on operator matrix?
Hi, I have transformed a recent PDE that was under evaluation here on the forum for a solver, and received some feedback. Some s...

4 years ago | 0 answers | 0

0

Question

Change step size in MATLAB for ODE45
Hi, is it possible to avoid this: Warning: Failure at t=-3.000000e+00. Unable to meet integration tolerances w...

4 years ago | 1 answer | 0

1

Question

Numerical Methods for Partial Differential Equations
Hi, I am following this source for numerically solving an own PDE: <https://se.mathworks.com/matlabcentral/fileexchange/65212...

4 years ago | 0 answers | 0

0

Is there a tutorial in MATLAB for solving a radial PDE ?
For u(phi, theta): u(0,0)=0 u'(0,0)=0 u''(pi,0)=0 u''(0,2pi)=10

4 years ago | 0

Question

Is there a tutorial in MATLAB for solving a radial PDE ?
Hi, I have a PDE with radial coordinates that has no analytic solution. Is there a way to generate the plot of the function usi...

4 years ago | 1 answer | 0

1

Question

From ODE45 ODE to """ PDE?
Hi, I just received wonderful assistance from Torsten an the others here in regards with solving with ODE45 the given ODE: y'...

4 years ago | 0 answers | 0

0

How do I prepare the following ODE for ode45?
(abs(y))^2 if y is the solution

4 years ago | 0

Convert an ODE to algebraic equations
Thanks John! Sounds like something I may do in the future. Cheers

4 years ago | 0

Convert an ODE to algebraic equations
Thanks John, it appears I must have misunderstood the claim of an analytical solution. It was suggested by one of the authors of...

4 years ago | 0

Question

Haar transform of ODE to systems of algebraic eqns
Hello, I would like to transform the given eqn. y'''+(1-x^2)y=0 to a system of algebraic equations. It appears the Haar wa...

4 years ago | 1 answer | 0

1

Question

Convert an ODE to algebraic equations
Hello, how can I convert a nonlinear ODE of third degree to a set of algebraic equations, which I can at last solve with fsolve?...

4 years ago | 4 answers | 0

4

Question

How do I prepare the following ODE for ode45?
Hello, I would like to solve the following ODE in ode45, but the example's on the site are not describing using higher order der...

4 years ago | 2 answers | 0

2

Solving a third order ODE in MATLAB
It doesn't matter, abs(Y) did not yield results with either methods, while the former, Y, yielded result only in wolfram.

4 years ago | 0

Solving a third order ODE in MATLAB
I tried this on wolfram, which is the equivalent of this: syms a h Y(x) g x B E T D3Y = diff(Y, 3) eqn = a.*D3Y -0.5...

4 years ago | 0

Solving a third order ODE in MATLAB
Wolfram alpha, it solves it without any problems.

4 years ago | 0

Question

Plotting a harmonic function
Hi, I am trying to plot the given function: syms x Z = x.^2 - exp(x)/3 + (2*exp(-x/2)*sin((sqrt(3)*x)/2))/sqrt(3) + ...

4 years ago | 0 answers | 0

0

Question

Solving a third order ODE in MATLAB
Hi, MATLAB is quite about this command: syms a h Y(x) g x B E T D3Y = diff(Y, 3) eqn = a.*D3Y -0.5*x^2*Y == (a...

4 years ago | 4 answers | 0

4

Question

Solving a complex integral
Hi, I have a complex integral to solve, however, there are some weird things here: syms x h a b c n k F = cos....

4 years ago | 1 answer | 0

1

Question

Generating wavepackets in MATLAB
Hi, I am trying to generate wavepackets for a complex function using MATLAB, however, I am not sure on the approach. Does MATLAB...

4 years ago | 1 answer | 0

1

Question

Problem in formatting a function
Hi I am trying to solve this intergral: syms x h h = 1.0545718E-34 f = exp.^(5.06E6.*i.*x+(1./h))+3/4.*exp.^(1./h...

4 years ago | 1 answer | 0

1

Question

Expanding a function in power series
Hi, I would like to expand an exponential function in terms of a power series. How can this be done in MATLAB, where one gets an...

4 years ago | 1 answer | 0

1

Question

How do I use parameters in the upper and lower limits of an intergral?
Hi, I have the following code if true % code end syms h g x C n L p e E C m h = 1.0545718E-34 g = 5.344285879E-2...

4 years ago | 1 answer | 0