
Julia
Followers: 0 Following: 0
Statistics
0 Problems
86 Solutions
RANK
N/A
of 298.594
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20.621
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...
ongeveer een maand ago
Solved
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
ongeveer een maand ago
Solved
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
ongeveer een maand ago
Solved
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
ongeveer een maand ago
Solved
Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
ongeveer een maand ago
Solved
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
ongeveer een maand ago
Solved
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
ongeveer een maand ago
Solved
Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I where: V is the voltage (in volts) I is the current (in ampere...
ongeveer een maand ago
Solved
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...
ongeveer een maand ago
Solved
Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...
ongeveer een maand ago
Solved
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
ongeveer een maand ago
Solved
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...
ongeveer 2 maanden ago
Solved
only input
Return the output without writing any code into the function.
ongeveer 2 maanden ago
Solved
Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.
ongeveer 2 maanden ago
Solved
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
ongeveer 2 maanden ago
Solved
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
ongeveer 2 maanden ago
Solved
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
ongeveer 2 maanden ago
Solved
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
ongeveer 2 maanden ago
Solved
Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...
ongeveer 2 maanden ago
Solved
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...
ongeveer 2 maanden ago
Solved
Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...
ongeveer 2 maanden ago
Solved
Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...
ongeveer 2 maanden ago
Solved
Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2
ongeveer 2 maanden ago
Solved
Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...
ongeveer 2 maanden ago
Solved
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
ongeveer 2 maanden ago
Solved
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
ongeveer 2 maanden ago