Resuelto


Accessing values in a cell
You are given c, which is a 1xN cell array, and a and b, which are each two 1xM vectors. Your job is to give the bth value in t...

11 meses hace

Resuelto


UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

11 meses hace

Resuelto


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

11 meses hace

Resuelto


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

11 meses hace

Resuelto


04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

11 meses hace

Resuelto


Highest building

11 meses hace

Resuelto


System of Linear Equations

11 meses hace

Resuelto


Number Puzzle - 040

11 meses hace

Resuelto


Find out if Quadratic Equation has real roots or not?
Input [a b c] ax^2+bx+c=0 Output [1 or 0] 1= Quadratic Equation has real roots 0= Quadratic Equation has imaginary roots

11 meses hace

Resuelto


Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.

11 meses hace

Resuelto


Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

11 meses hace

Resuelto


Select primes from the matrix.
Select primes from the matrix.

11 meses hace

Resuelto


Calculating the total earnings of a factory
The row vector, prods contains the number of various products manufactured per hour. The second row vector, prices holds values ...

11 meses hace

Resuelto


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

11 meses hace

Resuelto


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

11 meses hace

Resuelto


Add 2 Vectors

11 meses hace

Resuelto


Real

11 meses hace

Resuelto


Size

11 meses hace

Resuelto


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

11 meses hace

Resuelto


Radians to Degrees
Convert radians to degrees.

11 meses hace

Resuelto


Dot Product

11 meses hace

Resuelto


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

11 meses hace

Resuelto


Distance Travelled by Vehicle

11 meses hace

Resuelto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

11 meses hace

Resuelto


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

11 meses hace

Resuelto


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

11 meses hace

Resuelto


step function

11 meses hace

Resuelto


Area of rhombus
Calculate the rhombus area

11 meses hace

Cargar más