Resuelto


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

más de 6 años hace

Resuelto


Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

más de 6 años hace

Resuelto


ASCII Birthday Cake
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

más de 6 años hace

Resuelto


Write out numbers in words
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; * 1 > one * 56 > fifty-six * 100 >...

más de 6 años hace

Resuelto


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

más de 6 años hace

Resuelto


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

más de 6 años hace

Resuelto


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

más de 6 años hace

Resuelto


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

más de 6 años hace

Resuelto


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

más de 6 años hace

Resuelto


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

más de 6 años hace

Resuelto


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

más de 6 años hace

Resuelto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

más de 6 años hace

Resuelto


Component area
Find the area of the component below, all measurements are in mm <<https://image.ibb.co/hocruF/Component.png>>

más de 6 años hace

Resuelto


Make one vector from two others
You are given two vectors of equal length. Your task is to create a MATLAB script that will repeat all of the values in the fir...

más de 6 años hace

Resuelto


Rewrite setdiff to account for non-unique values
Setdiff(a,b) is a function that will remove all values of b from a. Sometimes, you need this function to do a little bit extra,...

más de 6 años hace

Resuelto


Matrix Max Finder
Output the maximum value in a matrix

más de 6 años hace

Resuelto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

más de 6 años hace

Resuelto


Sum two matrices
Take two incoming matrices, and sum them

más de 6 años hace

Resuelto


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

más de 6 años hace

Resuelto


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

más de 6 años hace

Resuelto


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

más de 6 años hace

Resuelto


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

más de 6 años hace

Resuelto


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

más de 6 años hace

Resuelto


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

más de 6 años hace

Resuelto


Compute average gain for some bets.
Given a vector containg the odds of some events in decimal format (e.g., |odds=[1.3 2.5 1.5]| ) and a vector of the same dimensi...

más de 6 años hace

Resuelto


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

más de 6 años hace

Resuelto


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

más de 6 años hace

Resuelto


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

más de 6 años hace

Resuelto


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

más de 6 años hace

Resuelto


Generate one sample of uniform random numbers between -pi and +pi
Generate one sample of uniform random numbers between -pi and +pi.

más de 6 años hace

Cargar más