Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 years ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

7 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Need help with defining a variable in my tic toc function
it's obvious look at line 29 and 30! n is vector? or n is scaler?

7 years ago | 0

| accepted

see this http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-11.html

8 years ago | 0

| accepted

integral square error
It's easy! Use simulink with optimization toolbox (or fminsearch) together. If you have the optimization toolbox type open run...

9 years ago | 0

Recursion Help ... Again...
check this codes elseif (norm == 0 && m == 0) pn = -((n-1)/n)*pnm(n-2,0,theta,norm)+((2*n-1)/n)*(cos(t...

9 years ago | 0

| accepted

More Recursion Help Needed
see the 11th and 12th lines of pnm function elseif ( norm == 0 && n >= m+2) pnmCurrentn = ((2*n-1)/(n-...

9 years ago | 0

| accepted

Submitted

fourier series calculator
initiates a GUI that graphs a function against the nth partial sum of its Fourier series

Submitted

Temperature Controller
This program simulate temperature control of one or two series tank.

Submitted

simpro v1.02
pressure, temperature or level control of one tank or two series tank(interacting or noninteracting)