How to define a mapping from R^n to R
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone,
I am trying to define a mapping from R^n to R referred to as basis function in the picture attached.
I have to no idea how to proceed.
Any suggestions would be really helpful.
Thank you.
0 commentaires
Réponses (1)
Gowtham
le 29 Août 2023
Modifié(e) : Gowtham
le 27 Sep 2023
Hi Ajai,
I understand that you are given psi(y, u) in the space and want to map it to R space.
Assuming psi(y, u) is a column vector of size n, one way to map is by using dot product with a weight vector and performing sum on the result.
Example:
psi = [1; 2; 3];
weight = [2; 1; 2];
result = sum(weight .* psi);
result
The above logic can be implemented in a function which maps . I hope it helps!
References:
0 commentaires
Voir également
Catégories
En savoir plus sur Logical 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!