Skip to main content

All Questions

Tagged with
0 votes
0 answers
87 views

A problem with obtaining the beam frequencies and mode shapes

I am supposed to find the mode shapes of two assembled beams. To this end, we must reduce the PDE equation of motion of beam to an ODE including the oscillation frequency. The solution of ODE has some ...
Sajad Mirhashemi's user avatar
0 votes
0 answers
51 views

Nested NIntegrate with Matrix Exponential

I wish to perform a numerical integration which involves a matrix exponential. Here's the following code ...
kowalski's user avatar
  • 385
1 vote
2 answers
200 views

Why does NDSolveValues give different results?

I'm trying to solve this differential equation to obtain the density matrix elements $\rho_{22}$. $$\frac{d\rho}{dt}=-i\Big(H_{0}(t)\rho(t)-\rho(t)H^{\dagger}_{0}(t)\Big)$$, for non-Hermitian ...
Radmehr's user avatar
  • 51
0 votes
1 answer
169 views

Why do different calculations give different eigenvalues?

I find the eigenvalues of the Hamiltonian in two ways - numerically and matrix . Why do different calculations give different eigenvalues? The Hamiltonian is H = -1/2*Laplacian -(2/r) It can be seen ...
Mam Mam's user avatar
  • 1,913
2 votes
2 answers
103 views

Optimising eigenvalue matrix calculation

I'm quite new to mathematica and am trying to figure out how to optimise my code as currently it takes a very long time to compile and makes it hard to bug test. The first part that creates the graph ...
anonymous2506's user avatar
-1 votes
1 answer
259 views

How to split data in a matrix

Consider the matrix 'm1' : m1 = RandomReal[{0, 1}, {50, 50}]; MatrixForm@m1 The partition of this matrix into non-overlapping rectangles (arranged horizontally) ...
ralph's user avatar
  • 1,029
0 votes
0 answers
130 views

Can't create matrix function of symbolic functions and assign values to elements

So I have a problem regarding the symbolic matrix value assignment. Say I create a matrix function as: P[t_]:= {{P1[t]}, {P2[t]}, {P3[t]}}; Then I want to assign ...
Nikolaos Petropoulos's user avatar
2 votes
1 answer
60 views

Phenomena between ill-conditioned and well-condtioned

Given that I have the following sparse matrix: ...
Lavender's user avatar
  • 119
3 votes
1 answer
260 views

Proving the positive semidefiniteness of a 6X6 symbolic matrix

Specifically, I want to check the positive semidefiniteness of the following 6X6 symbolic matrix ...
Julio Abraham Mendoza Fierro's user avatar
0 votes
3 answers
53 views

Low precision from function returning matrix

Got a function depending on single parameter "t" defined below which returns a 2 by 2 matrix ...
oweydd's user avatar
  • 345
0 votes
0 answers
167 views

Change of variables in integral is not working

Consider the matrix ...
jim's user avatar
  • 1
1 vote
1 answer
83 views

Optimising matrix calculation [closed]

I was calculating the elements of a matrix like this: ...
Vicent's user avatar
  • 1,121
4 votes
1 answer
129 views

Why does this test yield True

I have this test implemented in my code, when I import a numeric matrix, which I thought would be bulletproof, but it's failing in this case: ...
Santiago's user avatar
  • 1,211
0 votes
2 answers
158 views

I'm trying to solve a system of complex equations

I'm simply trying to solve a system of equations and mathematica can't do it for all values over the region of interest. I have a 3x3 matrix that has a specific parametrization and after squaring the ...
B. Forland's user avatar
0 votes
1 answer
99 views

Difference Eigenvector values in mathematica 9 and mathematica 10 [duplicate]

I have the following matrix; ...
Usman's user avatar
  • 157