How do I use single precision numbers in a summation? My result is not coming out as expected.
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2023 年 9 月 25 日
4 件のコメント
Walter Roberson
2023 年 9 月 25 日
Another hint:
P*ones(1,Q)
is one way to construct a vector of size 1 x Q that contains all P
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!