Filter löschen
Filter löschen

how to multiply each elements of the cell with a scalar quantity?

1 Ansicht (letzte 30 Tage)
for i=1:4
rate_k=@(pt,sigma)Rate(W,I,B,B1,pt,sigma,R1,invs1,i);
OptP{i} =@(sigma)vpa(solve(rate_k(pt,sigma)==rate_th,pt));
end
%%How to multiply each element of OptP{i} to a scalar quantity?

Akzeptierte Antwort

Matt J
Matt J am 25 Aug. 2022
OptP{i} =@(sigma) scalar * vpa(solve(rate_k(pt,sigma)==rate_th,pt));

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by