Gelöst


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

etwa 13 Stunden vor

Gelöst


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

etwa 13 Stunden vor

Gelöst


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

etwa 13 Stunden vor

Gelöst


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

etwa 13 Stunden vor

Gelöst


Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...

etwa 13 Stunden vor

Gelöst


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

etwa 13 Stunden vor

Gelöst


Array Height (no usage of size)
Find the array height, the number of rows. Size may not be used.

etwa 13 Stunden vor

Gelöst


Sum two matrices
Take two incoming matrices, and sum them

etwa 13 Stunden vor

Gelöst


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

etwa 13 Stunden vor

Gelöst


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

etwa 13 Stunden vor

Gelöst


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

etwa 13 Stunden vor

Gelöst


Matrix operation

etwa 13 Stunden vor

Gelöst


Row sum

etwa 13 Stunden vor

Gelöst


area

etwa 13 Stunden vor

Gelöst


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

etwa 13 Stunden vor

Gelöst


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

etwa 13 Stunden vor

Gelöst


Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.

etwa 13 Stunden vor

Gelöst


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

etwa 13 Stunden vor

Gelöst


F-score

etwa 13 Stunden vor

Gelöst


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

etwa 13 Stunden vor

Gelöst


Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

etwa 14 Stunden vor

Gelöst


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

etwa 14 Stunden vor

Gelöst


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

etwa 14 Stunden vor

Gelöst


Primes Checker
Given variable inputs Check if they are prime numbers

etwa 14 Stunden vor

Gelöst


Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

etwa 14 Stunden vor

Gelöst


Find remainder when x is divided by 3
Find remainder when x is divided by 3

etwa 14 Stunden vor

Gelöst


Create tangent function out of sin and cos
Please don't use tan(x) directly

etwa 14 Stunden vor

Gelöst


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

etwa 16 Stunden vor

Gelöst


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

etwa 16 Stunden vor

Gelöst


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

etwa 16 Stunden vor

Mehr laden