How are eigenfunctions normalized with solvepdeeig?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
SAI SRUJAN
le 20 Oct 2023
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 commentaires
Voir également
Catégories
En savoir plus sur General PDEs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!