Feeds
提问
for loop vector multiplication
i have this assigment: Create a function that computes the cost of each item and returns it as a vector. Find an elegant and ...
9 years 前 | 1 个回答 | 0
1
个回答提问
i cant find the fault in my code
i have this code: function T=convertTemperature(T,unitFrom,unitTo) Celcius='Celcius'; Fahrenheit='Fahrenheit'; Kelvin=...
9 years 前 | 1 个回答 | 0
1
个回答提问
have to make a function and return an answer of how long before it passes a certain point. does not work. help needed.
i have to make a function that look like this n(t)=n(t-1)*(1+alpha*(1-n(t-1)/K)) and know when n(t) surpasses a certain ...
9 years 前 | 1 个回答 | 0
1
个回答提问
The expression to the left of the equals sign is not a valid target for an assignment.
this is my code: function projection=computeProjection(a) b=[1,1,...]; projection = (dot(a,b)/(norm(a)).^2.*a...
9 years 前 | 1 个回答 | 0
