A résolu


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

environ 14 heures il y a

A résolu


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

environ 14 heures il y a

A résolu


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

environ 15 heures il y a

A résolu


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

environ 15 heures il y a

A résolu


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

environ 15 heures il y a

A résolu


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

environ 15 heures il y a

A résolu


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

environ 16 heures il y a

A résolu


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

environ 16 heures il y a

A résolu


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

environ 16 heures il y a

A résolu


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

1 jour il y a

A résolu


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

1 jour il y a

A résolu


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 jour il y a

A résolu


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

1 jour il y a

A résolu


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 jour il y a

A résolu


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 jour il y a

A résolu


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

1 jour il y a

A résolu


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 jour il y a

A résolu


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

1 jour il y a

A résolu


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 jour il y a

A résolu


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 jour il y a

A résolu


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 jour il y a

A résolu


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 jour il y a

A résolu


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

1 jour il y a

A résolu


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 jour il y a

A résolu


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 jour il y a

A résolu


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 jours il y a

A résolu


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 jours il y a

A résolu


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

2 jours il y a

A résolu


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 jours il y a

A résolu


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 jours il y a

Charger plus