Resuelto


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to ...

10 meses hace

Resuelto


Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...

alrededor de 1 año hace

Resuelto


Write a MATLAB function that takes a positive integer ( n ) as input and returns the sum of all the even numbers from 1 to ( n ).
Write a MATLAB function that takes a positive integer ( n ) as input and returns the sum of all the even numbers from 1 to ( n )...

más de 1 año hace

Resuelto


Implement the signum function
The signum function is a common mathematical function, which has the following definition : If x => 0, its value is 1, if x < 0...

más de 1 año hace

Resuelto


Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or o...

más de 1 año hace

Resuelto


Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...

más de 1 año hace

Resuelto


Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...

más de 1 año hace

Resuelto


Průměr z výběrového souboru
Napište funkci, která vrátí průměr z hodnot vektoru data. Např data = [1, 2, 3, 4, 5, 6, 7, 8, 9] je prumer = 5.

más de 1 año hace

Resuelto


Armstrong Number
Write a function name armstrong_check that checks whether the given input is an Armstrong Number or not. It returns logical True...

más de 1 año hace

Resuelto


Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

más de 1 año hace

Resuelto


Orthogonalize 3 column vectors using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize three linearly independent column vectors. Return three output column vectors that...

más de 1 año hace

Resuelto


Orthogonalize a 2x2 matrix using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize two linearly independent column vectors. Return two output column vectors that are...

más de 1 año hace

Resuelto


Matrix symmetry
Given a matrix A = [1 2 3; 4 5 6] Flip it horizontally and vertically to obtain a complete reversal of both rows and columns. ...

más de 1 año hace

Resuelto


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

más de 1 año hace

Resuelto


Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

más de 1 año hace

Resuelto


Summing the last column column
Given a matrix, return the sum of the last column of the array.

más de 1 año hace

Resuelto


Count integers in randomized vector that are multiples of a given number.
The mod() function We might all remember the days when we were taught to divide and then set the remainder aside if the numbers...

más de 1 año hace

Resuelto


Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

más de 1 año hace

Resuelto


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

más de 1 año hace

Resuelto


Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

más de 1 año hace

Resuelto


Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0

más de 1 año hace

Resuelto


Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

más de 1 año hace

Resuelto


How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.

más de 1 año hace

Resuelto


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

más de 1 año hace

Resuelto


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

más de 1 año hace

Resuelto


A times B
A times B

más de 1 año hace

Resuelto


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

más de 1 año hace

Resuelto


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

más de 1 año hace

Resuelto


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

más de 1 año hace

Resuelto


Remove a specific column with min value
Remove the column that contain the min value in the matrix?

más de 1 año hace

Cargar más