Community Profile # Andrew Nolan

### MathWorks

Last seen: Today Active since 2020

Student, programmer, pretty cool guy

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

#### Statistics

• • • • • • #### Content Feed

View by

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

12 maanden ago

Solved

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

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

12 maanden ago

Solved

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

12 maanden 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]

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

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

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden 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:*...

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

12 maanden 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

12 maanden 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

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

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

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

12 maanden ago

Solved

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

12 maanden ago

Solved

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

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

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

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

12 maanden ago