can you tell me what is this problem??

2 次查看(过去 30 天)
The following error occurred converting from sym to double:
Unable to convert expression into double array.
Error in Toppling_PMA (line 650)
YwL(i)=(YwR(i-1))

回答(1 个)

Image Analyst
Image Analyst 2021-1-10
I think you can just not instatiate YwR as sym. Use zeros() instead to instantiate it.
YwR = zeros(1, numberOfElements);

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by