Feeds
提问
How can I Write a code that will allow a vector of positive integers in x, as a user input, to evaluate the equation listed below.For odd numbers we will use the following equation
x= input('\nPlease input a 5 values in vector notation:'); i = 1; for i = 1:5 if rem(i,2) ==1; i = 2.*(i.^2) + 8*i - 3; ...
6 years 前 | 2 个回答 | 0
