Community Profile

photo

Luke Ariola


Actif depuis 2018

Statistiques

  • Solver

Afficher les badges

Content Feed

Afficher par

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus de 5 ans il y a

A résolu


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

plus de 5 ans il y a

A résolu


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

plus de 5 ans il y a

A résolu


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Concatenate two strings
Its very easy. Just concatenate two strings.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

plus de 5 ans il y a

A résolu


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

plus de 5 ans il y a

A résolu


only input
Return the output without writing any code into the function.

plus de 5 ans il y a

A résolu


Rounding
Round 10.67 and make 'y' equal to that number.

plus de 5 ans il y a

A résolu


reverse string
input='rama' output='amar'

plus de 5 ans il y a

A résolu


Will there be a new leader?
Simply answer the title.

plus de 5 ans il y a

A résolu


Array of Ones
Create a 100 X 100 array of ones.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

plus de 5 ans il y a

A résolu


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

plus de 5 ans il y a

A résolu


How do you make seven even?
Take away the s.

plus de 5 ans il y a

A résolu


Add two numbers
Add two numbers (For beginners)

plus de 5 ans il y a

A résolu


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

Charger plus