Community Profile

photo

PS


Last seen: alrededor de 3 años hace Con actividad desde 2021

Followers: 0   Following: 0

learner

Estadísticas

  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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.

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace