Community Profile

photo

James McMichael


Last seen: 2 months ago
84 total contributions since 2021

James McMichael's Badges

  • Introduction to MATLAB Master
  • Commenter
  • Promoter
  • Solver

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

2 months 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]

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

2 months ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

2 months ago

Solved


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

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

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

2 months ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

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

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

2 months ago

Solved


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

2 months ago

Solved


Converts numbers into characters
Converts numbers into characters

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


to the 2 all elements
to the 2 all elements

2 months ago

Solved


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

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

2 months ago

Solved


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

2 months ago

Solved


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

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

2 months ago

Solved


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

2 months ago

Solved


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

2 months ago

Solved


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

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

2 months 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];

2 months 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

2 months ago

Load more