Answered

what is the wrong here

David is probably right, but I made a different assumption about what equation you were trying to solve: h = 0.25; x = 0:h:1; ...

what is the wrong here

David is probably right, but I made a different assumption about what equation you were trying to solve: h = 0.25; x = 0:h:1; ...

ungefär ett år ago | 0

Answered

Referencing and extracting with conditions

I think this should work: function y = combo(combomatrix,row) % combomatrix is Nx3 % row is integer = row number of parts mat...

Referencing and extracting with conditions

I think this should work: function y = combo(combomatrix,row) % combomatrix is Nx3 % row is integer = row number of parts mat...

ungefär ett år ago | 0

| accepted

Answered

what is the meaning of this operation?

Melin, The matrix d has an error in it, because the 2nd row has more columns than the 1st and 3rd row. But, supposed we use d ...

what is the meaning of this operation?

Melin, The matrix d has an error in it, because the 2nd row has more columns than the 1st and 3rd row. But, supposed we use d ...

ungefär ett år ago | 1

Answered

How to get Matlab to return answers with ten-digit accuracy?

The answers returned by Matlab actually have the full available precision, but for display purposes they are printed in the comm...

How to get Matlab to return answers with ten-digit accuracy?

The answers returned by Matlab actually have the full available precision, but for display purposes they are printed in the comm...

mer än ett år ago | 0

Answered

Factorial without the Command

function f = Factorial(n) % if n = 0 || n = 1 f = 1; elseif n >= 1 a = 1:n; f = prod(a); end

Factorial without the Command

function f = Factorial(n) % if n = 0 || n = 1 f = 1; elseif n >= 1 a = 1:n; f = prod(a); end

mer än ett år ago | 0