How are eigenfunctions normalized with solvepdeeig?

3 ビュー (過去 30 日間)
Marichi Gupta
Marichi Gupta 2022 年 4 月 20 日
回答済み: SAI SRUJAN 2023 年 10 月 20 日
When computing eigenfunctions with solvepdeeig, how are the returned eigenfunctions normalized? With respect to -norm, etc? It seems that they are definitely not normalized with the -norm.
In case it's relevant, my code looks a lot like the example in https://www.mathworks.com/help/pde/ug/pde.pdemodel.solvepdeeig.html.

回答 (1 件)

SAI SRUJAN
SAI SRUJAN 2023 年 10 月 20 日
Hi Marichi gupta,
I understand that you are trying to get a grasp of the output arguments of "solvepdeeig" function.
Solvepdeeig function return a "Eigenresults" object as output, which contains eigenvectors and eigenvalues. We can use the "normalize" MATLAB function to normalize the eigenvectors.
Refer to the following coding snippet for better understanding of the same,
model = createpde(3);
importGeometry(model,"BracketTwoHoles.stl");
applyBoundaryCondition(model,"dirichlet","Face",1,"u",[0;0;0]);
E = 200e9; % elastic modulus of steel in Pascals
nu = 0.3; % Poisson's ratio
specifyCoefficients(model,"m",0,...
"d",1,...
"c",elasticityC3D(E,nu),...
"a",0,...
"f",[0;0;0]);
evr = [-Inf,1e7];
generateMesh(model);
results = solvepdeeig(model,evr);
EigenVectors=results.Eigenvectors;
% MATLAB function to normalize a vector.
normalizedEigenfunctions = normalize(EigenVectors);
% Follow this example for normalizing a vector
v= [1 2 3];
normalized_v=v./sqrt(sum(v.^2));
You can refer to the following documentation to understand more about "normalize" function in MATLAB.

カテゴリ

Help Center および File ExchangeGeneral PDEs についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by