已解决


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 months 前

已解决


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 months 前

已解决


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 months 前

已解决


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 months 前

已解决


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 months 前

已解决


Highest building

11 months 前

已解决


System of Linear Equations

11 months 前

已解决


Number Puzzle - 040

11 months 前

已解决


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 months 前

已解决


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 months 前

已解决


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 months 前

已解决


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

11 months 前

已解决


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 months 前

已解决


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

11 months 前

已解决


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

11 months 前

已解决


Add 2 Vectors

11 months 前

已解决


Real

11 months 前

已解决


Size

11 months 前

已解决


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

11 months 前

已解决


Radians to Degrees
Convert radians to degrees.

11 months 前

已解决


Dot Product

11 months 前

已解决


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

11 months 前

已解决


Distance Travelled by Vehicle

11 months 前

已解决


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 months 前

已解决


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 months 前

已解决


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 months 前

已解决


step function

11 months 前

已解决


Area of rhombus
Calculate the rhombus area

11 months 前

加载更多