Community Profile

# Andrew Nolan

### MathWorks

Last seen: 1 dag ago Active since 2020

Student, programmer, pretty cool guy

WPI Computer Science class of 2021 (BS/MS)

Programming Languages:
Python, Java, Javascript, MATLAB, SQL, HTML, CSS

#### Content Feed

View by

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

ongeveer een jaar ago

Solved

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

ongeveer een jaar 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.

ongeveer een jaar ago

Solved

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

ongeveer een jaar 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]

ongeveer een jaar 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 ...

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar 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:*...

ongeveer een jaar 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...

ongeveer een jaar 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

ongeveer een jaar 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

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar 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...

ongeveer een jaar ago

Solved

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

ongeveer een jaar ago

Solved

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

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar ago