Function with double arguments
Mostra commenti meno recenti
Can I make this?
function[g]= forward(f(x),x)
for j=5:5:40;
h=inv(j)
g=(f(x)+4*f(h)-f(h+h))/(h+h)
end
end
1 Commento
Walter Roberson
il 31 Gen 2016
Do you mean something different for inv(j) than 1/j ?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!