Filter löschen
Filter löschen

Arrays have incompatible sizes for this operation.

1 Ansicht (letzte 30 Tage)
ueqweoıqwueoq
ueqweoıqwueoq am 6 Mär. 2024
Kommentiert: Rena Berman am 3 Apr. 2024
sigma_r = 1/2.*'sigma_0'.*(1-('ksi'.^2))-(1/2.*'sigma_0'.*(1+(3.*('ksi'.^4))-(4.*('ksi'.^4)))).*cos(2.*'theta')
  3 Kommentare
Rik
Rik am 31 Mär. 2024
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.
Rena Berman
Rena Berman am 3 Apr. 2024

(Answers Dev) Restored edit

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Voss
Voss am 6 Mär. 2024
It seems unlikely that you mean to be doing numerical operations on character vetors like that
1/2.*'sigma_0'
ans = 1x7
57.5000 52.5000 51.5000 54.5000 48.5000 47.5000 24.0000
Maybe you meant to define those variables
sigma_0 = 4;
1/2.*sigma_0
ans = 2

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by