Community Profile

photo

Tom Hawthorn


Last seen: 5 dagar ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Commenter
  • CUP Challenge Master
  • Promoter
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Solved


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

ungefär en månad ago

Solved


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

ungefär 2 månader ago

Solved


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

ungefär 2 månader ago

Solved


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

ungefär 2 månader 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?

ungefär 2 månader ago

Solved


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

ungefär 2 månader ago

Solved


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

ungefär 2 månader ago

Solved


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

ungefär 2 månader ago

Solved


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

ungefär 2 månader ago

Solved


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

ungefär 2 månader ago

Solved


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

ungefär 2 månader ago

Solved


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

ungefär 2 månader ago

Solved


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

ungefär 2 månader ago

Solved


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

2 månader ago

Solved


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

2 månader ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

2 månader ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

2 månader ago

Solved


Converts numbers into characters
Converts numbers into characters

2 månader ago

Solved


to the 2 all elements
to the 2 all elements

2 månader ago

Solved


Draw a '0' in a one matrix!

2 månader ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

2 månader ago

Solved


Find the max element of the array
Find the max element of the array

2 månader ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

2 månader ago

Solved


Double all elements in the array
Duplicate all elements in the array

2 månader ago

Solved


calculate the length of matrix
input 1 array, calculate the length

2 månader 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...

2 månader ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

2 månader ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

2 månader ago

Solved


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

2 månader ago

Solved


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

2 månader ago

Load more