Gelöst


determine if
determine if the elements of a matrix is a nan and return true

mehr als 9 Jahre vor

Gelöst


find the 'M'
for an input x, return 1 at the location of the letter 'M'

mehr als 9 Jahre vor

Gelöst


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

mehr als 9 Jahre vor

Gelöst


wipe out!
make all the elements in given x zero.

mehr als 9 Jahre vor

Gelöst


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

mehr als 9 Jahre vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

mehr als 9 Jahre vor

Gelöst


Create sine function out of cosine
Please don't use sin(x) directly

mehr als 9 Jahre vor

Gelöst


Use a timetable to analyze a train timetable (Part 1)
Oh no, you missed your train to Boston! Find the departure time of the next available train by analyzing the train timetable. Th...

mehr als 9 Jahre vor

Gelöst


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

mehr als 9 Jahre vor

Gelöst


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

mehr als 9 Jahre vor

Gelöst


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Matrix Manipulation
Given an m*n matrix, see if a matrix contains any 0s in any row. if it contains 0 anywhere in any particular row, delete that ro...

mehr als 9 Jahre vor

Gelöst


Avengers Assemble!
Given matrix with so many zeroes, trim those zeroes and output a matrix joining all nnz elements Example: input = [0 0 0 0 0...

mehr als 9 Jahre vor

Gelöst


Vandermonde Matrix
Create the Vandermonde Matrix of the given vector. The matrix consists of columns as powers of the vector, so the first column i...

mehr als 9 Jahre vor

Gelöst


Laguerre Polynomial
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

mehr als 9 Jahre vor

Gelöst


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

mehr als 9 Jahre vor

Gelöst


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

mehr als 9 Jahre vor

Gelöst


time difference
The arrays x and y contain time values in the form of: x = [hours minutes seconds] Create the output z which contains the...

mehr als 9 Jahre vor

Gelöst


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

mehr als 9 Jahre vor

Gelöst


Binary Inversion
Given the unsigned 8-bit integer x, return the number y which is the binary inversion of x. For example if x is 5, y should b...

mehr als 9 Jahre vor

Gelöst


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

mehr als 9 Jahre vor

Gelöst


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

mehr als 9 Jahre vor

Gelöst


Non trivial identities - reshape
Return x by reshaping it.

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

mehr als 9 Jahre vor

Gelöst


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

mehr als 9 Jahre vor

Gelöst


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

mehr als 9 Jahre vor

Gelöst


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

mehr als 9 Jahre vor

Gelöst


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

mehr als 9 Jahre vor

Mehr laden