Peobelms about matrix dimensions
Ältere Kommentare anzeigen
function F=activation
T=100:100:2500;
A=quad(@(E)2/sqrt(pi)*T.^(-1.5).*(E.^0.5).*exp(-1*E./T.).,0,3500);
F=1-A;
end
It won't work, and I'm so confused about the matrix dimensions.
Antworten (1)
James Tursa
am 9 Nov. 2020
Take a look at this term:
exp(-1*E./T.).
Looks like you have too many periods in this part of the calculation. Try this
exp(-1*E./T)
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!