How do I use single precision numbers in a summation? My result is not coming out as expected.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

So this is the question I havve. However, when I change all the numeric values to single precision, it does not make a difference in the output. Any idea what I am doing wrong?

any suggestions would be appreciated!
0 commentaires
Réponse acceptée
Walter Roberson
le 25 Sep 2023
4 commentaires
Walter Roberson
le 25 Sep 2023
Another hint:
P*ones(1,Q)
is one way to construct a vector of size 1 x Q that contains all P
Plus de réponses (0)
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!