Community Profile

photo

Brian


University of Illinois at Chicago

Aktiv seit 2011

Statistiken

All
  • First Review
  • Quiz Master
  • Puzzler
  • Creator
  • Solver
  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Problem


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

mehr als 6 Jahre vor | 1 | 79 Lösungsvorschläge

Problem


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

mehr als 6 Jahre vor | 0 | 107 Lösungsvorschläge

Problem


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

mehr als 6 Jahre vor | 1 | 98 Lösungsvorschläge

Problem


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

mehr als 6 Jahre vor | 0 | 105 Lösungsvorschläge

Problem


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

mehr als 6 Jahre vor | 0 | 155 Lösungsvorschläge

Problem


Sum two matrices
Take two incoming matrices, and sum them

mehr als 6 Jahre vor | 1 | 156 Lösungsvorschläge

Problem


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

mehr als 6 Jahre vor | 0 | 80 Lösungsvorschläge

Problem


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

mehr als 6 Jahre vor | 0 | 108 Lösungsvorschläge

Problem


Matrix Max Finder
Output the maximum value in a matrix

mehr als 6 Jahre vor | 1 | 111 Lösungsvorschläge

Gelöst


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

mehr als 6 Jahre vor

Problem


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.

mehr als 6 Jahre vor | 0 | 101 Lösungsvorschläge

Problem


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

mehr als 6 Jahre vor | 0 | 79 Lösungsvorschläge

Problem


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

mehr als 6 Jahre vor | 0 | 105 Lösungsvorschläge

Problem


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

mehr als 6 Jahre vor | 0 | 84 Lösungsvorschläge

Problem


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

mehr als 6 Jahre vor | 2 | 105 Lösungsvorschläge

Problem


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

mehr als 6 Jahre vor | 2 | 146 Lösungsvorschläge

Problem


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

mehr als 6 Jahre vor | 1 | 64 Lösungsvorschläge

Problem


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

mehr als 6 Jahre vor | 1 | 60 Lösungsvorschläge

Problem


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

mehr als 6 Jahre vor | 0 | 68 Lösungsvorschläge

Problem


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

mehr als 6 Jahre vor | 1 | 75 Lösungsvorschläge

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

mehr als 6 Jahre vor

Gelöst


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

mehr als 6 Jahre vor

Gelöst


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

mehr als 6 Jahre vor

Gelöst


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

mehr als 6 Jahre vor

Gelöst


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

mehr als 6 Jahre vor

Gelöst


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

mehr als 6 Jahre vor

Gelöst


radius of a spherical planet
You just measured its surface area, that is the input.

mehr als 6 Jahre vor

Gelöst


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

mehr als 6 Jahre vor

Gelöst


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

mehr als 6 Jahre vor

Gelöst


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

mehr als 6 Jahre vor

Mehr laden