How can I make the dimensions agree for this function
Ältere Kommentare anzeigen
f = @(x) x - exp(cos(transpose[1:4])*sum(x)); And x=[2.5;2;1.4;.9] is a column vector. when I subtract it says error Matrix dimensions must agree.
2 Kommentare
Azzi Abdelmalek
am 1 Dez. 2014
After editing your question you made errors
cakey
am 1 Dez. 2014
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!