Community Profile

# James McMichael

##### Last seen: environ 2 mois ago
84 total contributions since 2021

View details...

Contributions in
View by

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

environ 2 mois ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

environ 2 mois ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

environ 2 mois ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

environ 2 mois ago

Solved

Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

environ 2 mois ago

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

environ 2 mois ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

environ 2 mois ago

Solved

length of a vector
Find twice the length of a given vector.

environ 2 mois ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

environ 2 mois ago

Solved

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

environ 2 mois ago

Solved

Given input in radians, output to degrees

environ 2 mois 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...

environ 2 mois ago

Solved

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Converts numbers into characters
Converts numbers into characters

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

to the 2 all elements
to the 2 all elements

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

environ 2 mois ago

Solved

surface of a spherical planet
you just discovered its circumference, that is the input.

environ 2 mois ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

environ 2 mois ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

environ 2 mois ago

Solved

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

environ 2 mois ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

environ 2 mois ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

environ 2 mois ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

environ 2 mois ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

environ 2 mois ago

Solved

Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

environ 2 mois ago