Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


calculate Compound Intrest
Calculate Compound Intrest for given data

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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.

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Cargar más