Community Profile

photo

PS


Last seen: ungefär 3 år ago Active since 2021

Followers: 0   Following: 0

learner

Statistics

  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


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

ungefär 3 år ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

ungefär 3 år ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

ungefär 3 år ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

ungefär 3 år ago

Solved


Find max
Find the maximum value of a given vector or matrix.

ungefär 3 år ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

ungefär 3 år ago

Solved


Double all elements in the array
Duplicate all elements in the array

ungefär 3 år ago

Solved


calculate the length of matrix
input 1 array, calculate the length

ungefär 3 år ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

ungefär 3 år ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

ungefär 3 år ago

Solved


Find the max element of the array
Find the max element of the array

ungefär 3 år ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

ungefär 3 år ago

Solved


to the 2 all elements
to the 2 all elements

ungefär 3 år ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

ungefär 3 år ago

Solved


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

ungefär 3 år ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

ungefär 3 år ago

Solved


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

ungefär 3 år ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

ungefär 3 år ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

ungefär 3 år ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

ungefär 3 år ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

ungefär 3 år ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ungefär 3 år ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

ungefär 3 år ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

ungefär 3 år ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

ungefär 3 år ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

ungefär 3 år ago

Solved


Return area of square
Side of square=input=a Area=output=b

ungefär 3 år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

ungefär 3 år ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

ungefär 3 år ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

ungefär 3 år ago