Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
hi i am trying to get the output of this loop in one matrix to use it in another function can anyone help me ?
Réponse acceptée
2 commentaires

Plus de réponses (1)
11 commentaires

- when v2 is 0 (first possible value) then terms on both sides of the equality vanish, and all values of d become valid solutions. I now detect that and inject a marker value of [-inf inf] in place of the infinite set of solutions
- because of the trig, there are a potentially infinite number of solutions offset at different multiples of π . To deal with that, I detect that parameters are introduced into the solution, and I substitute -10 to +10 as the multiple of pi, and give solutions for each of them. In practice because you take sin() of the proposed solutions and do not use the solutions otherwise, and the solutions are integral multiples of pi apart, the sin() maps all of them to the same value. As long as you are sure that you will only sin() or only cos() the solution you could probably substitute just 0 instead of -10:10 and would still get the same solution -- but if at any later point you might use the s2 value in some other way than pure unmodified sin() or pure unmodified cos() then you need the extra generality










Voir également
Catégories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)


