Community Profile

# Andrew Nolan

### MathWorks

89 total contributions since 2020

Student, programmer, pretty cool guy

BS/MS WPI CS Class of 2021
EDG Intern Summer 2020

#### Andrew Nolan's Badges

View details...

Contributions in
View by

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

ungefär 2 månader ago

Solved

Area of square
Find the area of a square whose diagonal length is given as x.

ungefär 2 månader ago

Solved

Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

ungefär 2 månader ago

Solved

raise 1/3
Raise a number to 1/3 power.

ungefär 2 månader ago

Solved

Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

ungefär 2 månader ago

Solved

Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

ungefär 2 månader ago

Solved

Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

ungefär 2 månader ago

Solved

What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

ungefär 2 månader ago

Solved

Calculate square and cube of number
Calculate square and cube of number x

ungefär 2 månader ago

Solved

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

ungefär 2 månader ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

ungefär 2 månader ago

Solved

Determine the length of a string of characters
Determine the length of a string of characters

ungefär 2 månader ago

Solved

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

ungefär 2 månader ago

Solved

Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

ungefär 2 månader ago

Solved

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

ungefär 2 månader ago

Solved

Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

ungefär 2 månader ago

Solved

Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable

ungefär 2 månader ago

Solved

Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

ungefär 2 månader ago

Solved

Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

ungefär 2 månader ago

Solved

Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

ungefär 2 månader ago

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

ungefär 2 månader ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

ungefär 2 månader ago

Solved

Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

ungefär 2 månader ago

Solved

Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

ungefär 2 månader ago

Solved

Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

ungefär 2 månader ago

Solved

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

ungefär 2 månader ago

Solved

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

ungefär 2 månader 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 2 månader ago

Solved

Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

ungefär 2 månader ago

Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

ungefär 2 månader ago