Risolto


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s = [ 195 125 260 440 395 290] and you have amount ...

oltre 8 anni fa

Risolto


Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

oltre 8 anni fa

Risolto


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

oltre 8 anni fa

Risolto


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

oltre 8 anni fa

Risolto


How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

oltre 8 anni fa

Risolto


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

oltre 8 anni fa

Risolto


"Power matrix" of two vectors
Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

oltre 8 anni fa

Risolto


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

oltre 8 anni fa

Risolto


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

oltre 8 anni fa

Risolto


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.

oltre 8 anni fa

Risolto


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

oltre 8 anni fa

Risolto


Area of square
Find the area of a square whose diagonal length is given as x.

oltre 8 anni fa

Risolto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

oltre 8 anni fa

Risolto


BaeIsAlwaysRight
Output yes whatever bae says

oltre 8 anni fa

Risolto


UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

oltre 8 anni fa

Risolto


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

oltre 8 anni fa

Risolto


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

oltre 8 anni fa

Risolto


Linear system of equations
Solve the system of equations in three variables.

oltre 8 anni fa

Risolto


Remove the air bubbles from a vector
_*A reduced version of Problem 112*_ Given a column vector v, return a vector w in which all the zeros have "bubbled" to the ...

oltre 8 anni fa

Risolto


Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.

oltre 8 anni fa

Risolto


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

oltre 8 anni fa

Risolto


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

oltre 8 anni fa

Risolto


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

oltre 8 anni fa

Risolto


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

oltre 8 anni fa

Risolto


Horizontal matrix sort
Given a matrix x with n rows and m columns, return a matrix y with n rows and 2m columns, such that every row in x is sorted fro...

oltre 8 anni fa

Risolto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

oltre 8 anni fa

Risolto


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

oltre 8 anni fa

Risolto


Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

oltre 8 anni fa

Carica altro