Solved


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

7 years ago

Solved


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

7 years ago

Solved


Can you beat the lottery?
Well this one you may not get every time, but it is a lottery! Here is the code that generates the lottery numbers (you can try ...

7 years ago

Solved


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

7 years ago

Solved


Wheat on a chessboard pt 2
If a chessboard were to have wheat placed upon each square such that x grains were placed on the first square and each successiv...

7 years ago

Solved


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

7 years ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

7 years ago

Solved


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

7 years ago

Solved


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

7 years ago

Solved


Modulation index
The amplitude of the carrier signal is 2V and the amplitude of the modulating signal is 8V. Find its modulation index.

7 years ago

Solved


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

7 years ago

Solved


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

7 years ago

Solved


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

7 years ago

Solved


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

7 years ago

Solved


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

7 years ago

Solved


What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...

7 years ago

Solved


Three grind is shipsstraigt
A function that returns either 'Rock', 'Scissors', or 'Paper' (string). You may succeed or you may fail the (case insensitive) t...

7 years ago

Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

7 years ago

Solved


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

7 years ago

Solved


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

7 years ago

Solved


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

7 years ago

Solved


Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...

7 years ago

Solved


Display positive elements of matrix.
Display positive elements of matrix.

7 years ago

Solved


Combinations without using nchoosek
You have to generate a matrix with all possible combinations of n elements *taken 2* at a time, *without using nchoosek(1:n,2)* ...

7 years ago

Solved


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

7 years ago

Solved


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

7 years ago

Solved


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

7 years ago

Solved


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

7 years ago

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

7 years ago

Solved


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

7 years ago

Load more