photo

John Nowak


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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; ...

ungefär 5 år ago | 2 answers | 0

2

answers