Solved


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

24 dagen ago

Solved


Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at http://en.wikipedia...

24 dagen ago

Solved


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

24 dagen ago

Solved


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cornelius...

25 dagen ago

Solved


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] ...

25 dagen ago

Solved


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

25 dagen ago

Solved


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

25 dagen ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

25 dagen ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

25 dagen ago

Solved


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

25 dagen ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

25 dagen ago

Solved


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

25 dagen ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

25 dagen ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

25 dagen ago

Solved


Remove the Zero
Given an array n, remove all zeros

25 dagen ago

Solved


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

25 dagen ago

Solved


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

25 dagen ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

25 dagen ago

Solved


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

25 dagen ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

25 dagen ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

25 dagen ago

Solved


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

25 dagen ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

25 dagen ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

25 dagen ago

Solved


factorial of a number x
Factorial of a number x

25 dagen ago

Solved


07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

25 dagen ago

Solved


07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...

25 dagen ago

Solved


07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...

25 dagen ago

Solved


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

25 dagen ago

Solved


square root
Find the square root (y) of an input (x).

25 dagen ago

Load more