how can i perform unbalance load flow in simulink

1 view (last 30 days)
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?

Answers (1)

Harsh Saxena
Harsh Saxena on 19 Jun 2023
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!

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!