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

alrededor de 16 horas hace

Resuelto


Determine if input is greater than pi
Evaluate if given number is greater than pi. If greater, return true; else, return false.

alrededor de 16 horas hace

Resuelto


Magnitude with vargin
Return the magnitude (square root of the sum of the squares) for an undefined number of input arguments.

alrededor de 17 horas hace

Resuelto


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

alrededor de 17 horas hace

Resuelto


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

alrededor de 17 horas hace

Resuelto


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

alrededor de 17 horas hace

Resuelto


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

alrededor de 18 horas hace

Resuelto


Determine if input is greater than 100
Evaluate if given number is greater than 100. If greater, return true; else, return false.

alrededor de 18 horas hace

Resuelto


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

alrededor de 18 horas hace

Resuelto


Array Width (no usage of size)
Find the array width. Size may not be used.

1 día hace

Resuelto


Array Height (no usage of size)
Find the array height, the number of rows. Size may not be used.

1 día hace

Resuelto


A row vector, pick 1st number, skip 1,pick 3rd number, skip 2,pick,skip,etc then place all picked numbers in order in new vector
Having a row vector of number, pick the first number, place in new output vector as the first value, then skip one number, pick...

1 día hace

Resuelto


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

1 día hace

Resuelto


Lancer de dés
Ecrire une fonction qui imite le lancer d'un dé, i-e qui renvoie de façon aléatoire un entier entre 1 et 6. Attention cette fon...

1 día 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...

1 día hace

Resuelto


Find mass of single floor in building
A model building has three floors are highlighted in different colours here: Assu...

1 día hace

Resuelto


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

1 día hace

Resuelto


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

1 día hace

Resuelto


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

1 día hace

Resuelto


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

1 día hace

Resuelto


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

1 día 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 ...

1 día hace

Resuelto


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

1 día hace

Resuelto


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

1 día 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...

1 día 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...

2 días hace

Resuelto


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

2 días 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 ...

2 días 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...

2 días hace

Resuelto


Sequencing Odd Even numbers
Given an input value n, create a vector which contains all odd numbers & even numbers centered around mean of vector. If the me...

3 días hace

Cargar más