提问

Solve for a normaliztion constant in MATLAB

Hi, I have the following code: if true % code end syms h g x C n L p e E C m N y = - (exp(-(x*(g*1i + (- 2*g^2 + ...

5 years 前 | 2 个回答 | 0

提问

Using solve to find unknown Constant in equation

Hi, I tried to use solve in the following fashion: if true % code end syms a x C Csolve = solve(C+pi*cos(a)+pi*i*...

5 years 前 | 1 个回答 | 0

提问

Use the Euler relation to split a function into complex and imaginary parts

Hi, I found a thread considering to split a function into Re and Im, and used it's command: if true % code end y =...

5 years 前 | 2 个回答 | 0

提问

Proof-checking a ODE solution

Hi, MATLAB online solves this: if true % code end syms a h Y(x) g x B E eqn = (h^2)*diff(Y,x, 2) + (2*i*h*g)*diff...

5 years 前 | 1 个回答 | 0

提问

How to set several initial conditions when solving an ODE?

Hi, I have the following ODE: if true % code end syms a h Y(x) g x B E eqn = (h)*diff(Y,x, 2) + (g)*diff(Y,x) + (...

6 years 前 | 1 个回答 | 0

已回答

Error in command for partial differentiation

Have a look at this short example: >> diff((exp(-i*(x+y)), x)) diff((exp(-i*(x+y)), x)) ↑ Err...

Error in command for partial differentiation

Have a look at this short example: >> diff((exp(-i*(x+y)), x)) diff((exp(-i*(x+y)), x)) ↑ Err...

6 years 前 | 0

提问

How can I determine if two eigenvectors form an open or closed subspace?

Hi, I have two eigenvectors, which form a subspace in H. Is there an easy way to determine whether the subspace they form is ope...

6 years 前 | 1 个回答 | 0

提问

How to normalize an ODE ?

Hi, I want to normalize an ODE, and the following link: https://se.mathworks.com/help/symbolic/mupad_ref/ode-normalize.html ...

6 years 前 | 0 个回答 | 0

已回答

Simple ODE solution from MATLAB and Mathematic disagree

Yes, that is what I experienced too. However, this is actually a bug, and I have reported it to MATLAB Support. It happened also...

Simple ODE solution from MATLAB and Mathematic disagree

Yes, that is what I experienced too. However, this is actually a bug, and I have reported it to MATLAB Support. It happened also...

6 years 前 | 0

提问

Interpreting output from Limit estimation

Hi, I calculated the limit of a function: if true % code end y = (C - (exp(-2.*g.*i.*x./h)).*(C - T) + (g.*x)/2.*h...

6 years 前 | 0 个回答 | 0

提问

Simple ODE solution from MATLAB and Mathematic disagree

Hi, I have in the last 2 months been trying to solve the rather simple ODE: aY''(x) + ibY'(x) -c = 0 initial condition Y(0...

6 years 前 | 2 个回答 | 0

提问

How can I increase the precision of a limit to give a number with more digits?

Hi, I have the following: C= 1/a f = (C - (exp(-2x)).*(C - ((h)./2) + (g.*x)) limit(f,var,a)=W double(W) Howeve...

6 years 前 | 1 个回答 | 0

已回答

Solve systems of eqns

Birdman, have a look at this if true % code end syms a h Y(theta) g x eqn = h^2*diff(Y,theta, 2) + (2*i*h*g)*diff...

Solve systems of eqns

Birdman, have a look at this if true % code end syms a h Y(theta) g x eqn = h^2*diff(Y,theta, 2) + (2*i*h*g)*diff...

6 years 前 | 0

提问

Solve systems of eqns

Hi, I tried solving a system for: if true % code end eqns = h^2*[diff(y,t)+2*i*g*y+g^2==0, diff(z,t)==y]; sol = d...

6 years 前 | 2 个回答 | 0

提问

Problems in running Dsolve

Hi, I have apparently run dsolve in such a way that I got an error in the solution, and now have to re-do the whole thing. T...

6 years 前 | 1 个回答 | 0

提问

How to split up a Latex output from MATLAB?

Hi, I have the immense output from MATLAB that does not show in Latex as it extends beyond the page border. I have tried to spli...

6 years 前 | 0 个回答 | 0

提问

Discontinutiy of a function

Hi, I have the following command: if true syms h g x C h = 1 g = 4 C = 1/(2.*pi); f = (C - (exp(-2.*g.*1i.*x./h)).*((...

6 years 前 | 0 个回答 | 0

提问

Transform a discontinuous function to continuous form

Hi, I have a non-hermitian discontinuous function which looks as: y(x) = sqrt(1/2) - e^(-2*i*x) *((sqrt(1/2)-(1/2)*cos(x) + (...

6 years 前 | 1 个回答 | 0

已回答

How can I solve an integral equation with an unknown kernel?

Hi John, I found out that the non-hermitian nature of those functions makes them require a kernel, and not a constant, it appear...

How can I solve an integral equation with an unknown kernel?

Hi John, I found out that the non-hermitian nature of those functions makes them require a kernel, and not a constant, it appear...

6 years 前 | 0

提问

How can I solve an integral equation with an unknown kernel?

The equation I am trying to solve is: <</matlabcentral/answers/uploaded_files/96903/CodeCogsEqn.gif>> where f(x) and h(x) ...

6 years 前 | 3 个回答 | 0

提问

Compute a limit in two-dimensions

Hi, I am trying to calculate the limit of a function f(x,t): syms h g x C t h = 4 g = 3 C = 1 f(x,t) = (C*e^x + (g.*...

6 years 前 | 1 个回答 | 0

已回答

Phase portrait for Complex ODE

thanks! I can only see arrows pointing in one direction

Phase portrait for Complex ODE

thanks! I can only see arrows pointing in one direction

6 years 前 | 0

提问

Phase portrait for Complex ODE

Hi, I am trying to use: if true % code end function pdecaller() options = odeset('OutputFcn',@odephas2); ...

6 years 前 | 2 个回答 | 0

提问

How to determine if a matrix is NP-hard or not in MATLAB

Hi, how can one determine if a matrix [a, b; 1, 1] is NP-hard in MATLAB?

6 years 前 | 0 个回答 | 0

提问

Can MATLAB solve a integrodifferential equation?

Hi, I have checked some posts on the forum, however to no avail. I have the given system: { syms h g x C h = 2 g = ...

6 years 前 | 1 个回答 | 0

提问

Phase portrait for a matrix

I have solved a system of ODEs, and would like to plot a phase portrait in MATLAB. This gave me the following matrix: [ 1, i...

6 years 前 | 1 个回答 | 0

提问

Can MATLAB Be used to prove whether an operator is hermitian, skew hermitian, unitary or norm?

IF so, how? Thanks

6 years 前 | 0 个回答 | 0

提问

How to prove continuity, single-valuedness and continuos slope of a function in MATLAB?

Hi, I would like to test a function's acceptable character to the Schrödinger eqn, and have the three following criteria to chec...

6 years 前 | 0 个回答 | 0

提问

Dsolve generates result with variable "t" when t not used

Hi; I tried to solve a PDE using dsolve, and the code looks like: if true syms h r l h = 2 g = 5 dsolve('r^2*(h^2*(D2v+...

6 years 前 | 0 个回答 | 0