Community Profile

photo

SAMANTHA LINK


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

View badges

Feeds

View by

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

3 years ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

3 years ago

Solved


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

3 years ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

3 years ago

Solved


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

3 years ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

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

3 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

3 years ago

Solved


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

3 years ago

Solved


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

3 years ago

Solved


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

3 years ago

Solved


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

3 years ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

3 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3 years ago

Solved


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

3 years ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

3 years ago

Solved


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

3 years ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

3 years ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

3 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

3 years ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

3 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

3 years ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

3 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

3 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

3 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

3 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

3 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

3 years ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

3 years ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

3 years ago

Load more