Community Profile

# TurqoiseInt

### University of Oulu

Last seen: plus d'un an ago Active since 2016

All

#### Content Feed

View by

Solved

Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

plus d'un an ago

Solved

Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

plus d'un an ago

Solved

Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

plus d'un an ago

Solved

Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

plus d'un an ago

Solved

Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

plus d'un an ago

Solved

Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

plus d'un an ago

Solved

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

plus d'un an ago

Solved

Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

plus d'un an ago

Solved

Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

plus d'un an ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

plus d'un an ago

Solved

Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

presque 2 ans ago

Solved

Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

presque 2 ans ago

Solved

Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

presque 2 ans ago

Solved

It's race time again! Write a function that is at least twice as fast as the test suite call of repmat().
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. This must be done in l...

presque 2 ans ago

Solved

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

presque 2 ans ago

Solved

ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

presque 2 ans ago

Solved

ASCii Code
Using Matlab get the ASCii for '?'

presque 2 ans ago

Solved

Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

presque 2 ans ago

Solved

Complex number
For complex number c=a+bi, write code that will add a and b together.

presque 2 ans ago

Solved

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

presque 2 ans ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

presque 2 ans ago

Solved

Rounding
Round 10.67 and make 'y' equal to that number.

presque 2 ans ago

Solved

Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

presque 2 ans ago

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

presque 2 ans ago

Solved

Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

presque 2 ans ago

Solved

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

presque 2 ans ago

Solved

Longest run of consecutive numbers (★★★★★)
(copy of Problem 672) Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you...

presque 2 ans ago

Solved

Make a checkerboard matrix (★★★★★)
(copy of Prob. 4) Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1...

presque 2 ans ago

Solved

How to locate the position of an element in a vector without using the find function
(copy of prob 105 with test for find function) Write a function posX = *locatePos* (x,y) which returns the location o...

presque 2 ans ago

Solved

*Prime number check 2 (in construction)
Another way to see if a number is prime is to count the number of factors. For example, the number 4 has 2 factors, [ 2 4 ]...

presque 2 ans ago