Risolto


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

oltre 3 anni fa

Risolto


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]

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Positive Infinity
Round the array a towards positive infinity

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


kmph to mps
convert kilometer per hour to meter per second

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Nth root
Nth root of a number x

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


Row sum

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 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 3 anni fa

Carica altro