how can i perform unbalance load flow in simulink
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
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!
0 Comments
See Also
Categories
Find more on Simscape Electrical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!