Need Help to Homework
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
Consider the matrix A=[2/3 -2/3; 2/3 7/3].
Consider 10000 equally spaced points on the unit circle in R2 (assume Euclidian
distance). The coordinates of each of these points define a column vector
v in R2. Compute w = Av for all points, interprete the resulting vectors
again as points in the plane, and draw all resulting points in one figure.
What i need to do?
2 commentaires
Wayne King
le 21 Oct 2012
Unless you show some sample code where you have tried something, it's best to ask your professor or the TA for help to get started.
Réponse acceptée
Plus de réponses (2)
Wayne King
le 21 Oct 2012
Modifié(e) : Wayne King
le 21 Oct 2012
My hint would be this:
1.) Think about what equation every point on the unit circle satisfies in terms of cos(theta) and sin(theta).
2.) Generate 10,000 equally-spaced angles between [0,2*pi]
I think any more help than that and I'm just writing the code for your assignment.
5 commentaires
Wayne King
le 21 Oct 2012
Modifié(e) : Wayne King
le 21 Oct 2012
oh sorry, Matt is correct!! I'm trying to do too many things at once. You should follow Matt's suggestion then and generate an equally spaced vector from 0 to 2*pi. I'll edit my post, but leave comment to show that Matt correctly pointed out my mistake.
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!