Arrays have incompatible sizes for this operation.
2 次查看(过去 30 天)
显示 更早的评论
sigma_r = 1/2.*'sigma_0'.*(1-('ksi'.^2))-(1/2.*'sigma_0'.*(1+(3.*('ksi'.^4))-(4.*('ksi'.^4)))).*cos(2.*'theta')
3 个评论
Rik
2024-3-31
Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
采纳的回答
Voss
2024-3-6
It seems unlikely that you mean to be doing numerical operations on character vetors like that
1/2.*'sigma_0'
Maybe you meant to define those variables
sigma_0 = 4;
1/2.*sigma_0
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!