how can i perform unbalance load flow in simulink
1 次查看(过去 30 天)
显示 更早的评论
I 'm using simulink to perform unbalance loadflow but I see this message:
"Error using ^ One argument must be a square matrix and the other must be a scalar. Use POWER (.^) for elementwise power."
How can I resolve this problem?
0 个评论
回答(1 个)
Harsh Saxena
2023-6-19
Hi,
Seems like you are trying to use the power operator. To use it like a^b, make sure that 'b' is a scalar as it will apply the power operation to each element of 'a'. If you want to apply the operation for every element in 'a' corresponding to every element in 'b', use a.^b.
For more information about the power operator refer to this documentation: https://www.mathworks.com/help/matlab/ref/power.html
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parameterization Methods 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!