Can someone please explain to me the problem with my function. All the variables have already been assigned.
function [u,w] = velocity(H,sigma(n),k,h(n),z,x)n = 1:length(h)h = [1 2 3 4]
error
function [u,w] = velocity(H,sigma(n),k,h(n),z,x)n = 1:length(h)h = [1 2 3 4]
Best Answer