Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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?

10 meses hace

Resuelto


Total energy

10 meses hace

Resuelto


Potential energy calculation

10 meses hace

Resuelto


Kinetic energy calculation

10 meses hace

Resuelto


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

10 meses hace

Resuelto


Remove a specific character with another
Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

10 meses hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

10 meses hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

10 meses hace

Resuelto


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

10 meses hace

Resuelto


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

10 meses hace

Resuelto


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

10 meses hace

Resuelto


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

10 meses hace

Resuelto


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

10 meses hace

Resuelto


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

10 meses hace

Resuelto


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

10 meses hace

Resuelto


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

10 meses hace

Resuelto


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

10 meses hace

Resuelto


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

10 meses hace

Resuelto


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

10 meses hace

Resuelto


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

10 meses hace

Resuelto


Draw a '6' in a zero matrix!

10 meses hace

Resuelto


Draw a '4' in a zero matrix!

10 meses hace

Resuelto


Draw a '9' in a zero matrix!

10 meses hace

Resuelto


Draw a '7' in a zero matrix!

10 meses hace

Resuelto


Draw a '8' in a zero matrix!

10 meses hace

Resuelto


Draw a '3' in a zero matrix!

10 meses hace

Cargar más