Solved


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

5 years ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

5 years ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

5 years ago

Solved


Positive Infinity
Round the array a towards positive infinity

5 years ago

Solved


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

5 years 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];

5 years ago

Solved


kmph to mps
convert kilometer per hour to meter per second

5 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

5 years ago

Solved


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

5 years ago

Solved


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

5 years ago

Solved


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

5 years ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

5 years ago

Solved


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

5 years ago

Solved


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

5 years ago

Solved


Number of primes
Count the number of primes less than 'n'.

5 years ago

Solved


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

5 years ago

Solved


y equals x divided by 2
function y = x/2

5 years ago

Solved


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

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

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

5 years ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

5 years ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

5 years ago

Solved


02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...

5 years ago

Solved


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

5 years ago

Solved


Nth root
Nth root of a number x

5 years ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

5 years ago

Solved


Row sum

5 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

5 years ago

Solved


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

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

5 years ago

Load more