How are eigenfunctions normalized with solvepdeeig?
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General PDEs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!