Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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) + (...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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)).*((...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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) + (...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Phase portrait for Complex ODE
thanks! I can only see arrows pointing in one direction

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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?

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Phase portrait for a matrix
Yes, it is: 5i Y'' - 3i Y' = 0

mehr als 6 Jahre vor | 0

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden