Solved


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

mer än 5 år 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 ...

mer än 5 år ago

Solved


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

mer än 5 år 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...

mer än 5 år 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

mer än 5 år ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

mer än 5 år 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: ...

mer än 5 år 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...

mer än 5 år 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.

mer än 5 år 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...

mer än 5 år ago

Solved


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

mer än 5 år ago

Solved


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

mer än 5 år 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...

mer än 5 år ago

Solved


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

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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.

mer än 5 år 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...

mer än 5 år 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 ...

mer än 5 år 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.

mer än 5 år 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...

mer än 5 år ago

Solved


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

mer än 5 år 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)* ...

mer än 5 år ago

Solved


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

mer än 5 år ago

Solved


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

mer än 5 år 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...

mer än 5 år ago

Solved


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

mer än 5 år 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...

mer än 5 år ago

Solved


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

mer än 5 år ago

Solved


Split a given string from the first instance of a given character
A simple operation to split a given string into two substrings at the point where the desired character is first found. e.g. ...

mer än 5 år ago

Load more