Filter löschen
Filter löschen

Solving double Integral with syms variables and matrices

1 Ansicht (letzte 30 Tage)
AN
AN am 23 Nov. 2023
Bearbeitet: Torsten am 23 Nov. 2023
Can anyone help in solving this double integral using matlab.
psi_1 and psi_3 are one-dimensional column vectors. The answer of the integral is expected to be a scalar.
  6 Kommentare
Torsten
Torsten am 23 Nov. 2023
Bearbeitet: Torsten am 23 Nov. 2023
I guess you have psi_2^2 and psi_1^2 evaluated over an x/y grid. But I don't know how to make sense of a single 11x3 matrix without listing the corresponding x/y coordinates and without stating to which psi the matrix belongs.
Dyuman Joshi
Dyuman Joshi am 23 Nov. 2023
As OP initially stated that the values are column vectors, and provided an array for reference, I'd say it is safe to assume that the first and the third columns of the arrays are the values of psi_1 and psi_3 respectively

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 23 Nov. 2023
The answer is "NO", no-one can help you solve that integral to get a scalar result. Given column vectors, the result of the integral will be non-scalar.
The results of the integral are infinite except for locations where the ψ are zero.
consider the inner integral. ψ1 is constant so its square is constant. Integral of constant times x² is constant times 1/3 x³ evaluated over the limits which is is constant times 1/3 y³.
Multiply the y³ by the outer y and the constant ψ2² there to get constant times y⁴. Integrate to get 1/5 times some constant times y to the 5th. Evaluate over the infinite limits to get infinities except where the constants are zero
The results have the potential to be different if the two vectors are different orientations, but you specified that they are column vectors.
  1 Kommentar
Walter Roberson
Walter Roberson am 23 Nov. 2023
The whole thing does not make sense to me unless the ψare functions of x or y -- but if so then you cannot hope for a closed-form integral without knowing the formulaes for the ψ

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by