Feeds
質問
Cell array and cell structure
I am suppose to insert the weight data of an element into the element itself. The funny thing is that W(1,1)(1,2) brings up "x" ...
12年以上 前 | 2 件の回答 | 0
2
回答回答済み
How can I set up the variables for this question?
function numberofsteps = naturalnumber(n) numberofsteps = 0; while n~=1; if mod(n,2) == 0; n = n/...
How can I set up the variables for this question?
function numberofsteps = naturalnumber(n) numberofsteps = 0; while n~=1; if mod(n,2) == 0; n = n/...
12年以上 前 | 0
質問
How can I set up the variables for this question?
Take any natural number n. If n is even, divide it by 2 to get n/2. If n is odd, multiply it by 3 and add 1 to obtain 3n+1. (T...
12年以上 前 | 2 件の回答 | 0
