Solved


Wythoff Sequence
Find the lower Wythoff sequence up to n. For more information, <https://oeis.org/A000201>

10 days ago

Solved


Determine Matrix Dimensions Without Using some built-in MATLAB functions
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...

10 days ago

Solved


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

10 days ago

Solved


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

10 days ago

Solved


Normie Function
So, I built a function and gave it a name- _Normie_. *Find the nth term of Normie function:* _f(n)= 1*f(n-1)+ 2*f(n-3)+ 3_ , *...

10 days ago

Solved


First Unique Character
Given a character vector s, return the first character that appears exactly once in s. If every character repeats at least once...

11 days ago

Solved


Upper vs Lower Triangle
Create an n × n matrix A such that: Elements strictly above the main diagonal are 1 Elements strictly below the main diagonal ...

11 days ago

Solved


Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variables...

11 days ago

Solved


PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all ...

11 days ago

Solved


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

11 days ago

Solved


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

11 days ago

Solved


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

11 days ago

Solved


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

14 days ago

Solved


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

14 days ago

Solved


Basic Physics VII
Calculate the speed.

14 days ago

Solved


Basic Physics V
Calculate the Weight (w).

14 days ago

Solved


Basic Physics IV
Calculate the Work.

14 days ago

Solved


Basic Physics IV
Calculate the Mechanical Energy (ME).

14 days ago

Solved


Basic Physics II
Get the Kinetic Energy (KE).

14 days ago

Solved


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

14 days ago

Solved


Basic Physics I
Calculate the energy by the famous formula of Albert Einstein.

14 days ago

Solved


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

14 days ago

Solved


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

14 days ago

Solved


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

14 days ago

Solved


Basic Physics III
Calculate the Potential Energy (PE).

14 days ago

Solved


Return elapsed time
Write a function that returns the amount of time it takes to run the function, as measured by tic and toc. Your answer must be c...

14 days ago

Solved


Geometric Compression Ratio
The geometric compression ratio CR is the ratio of the total cylinder volume at BDC to the clearance volume at TDC. It is one ...

14 days ago

Solved


Count Even Numbers
Write a function count = count_evens(vec) that takes a 1D array (vector) of numbers vec and returns the total count of even numb...

15 days ago

Solved


Mach Number Calculator
Create a solver which converts a speed in km/s to a Mach Number Round to 2 decimal places Requires: Mach Number Formula (ea...

15 days ago

Load more