Solved


How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

8 years ago

Answered
How do I include image (.jpg) in Cody Coursework problem description?
1) Create an account to OneDrive and upload your image file there. 2) Access the image file through the online site (https://on...

8 years ago | 0

Answered
code to plot epicycle
%% Epicycles % ENGG 010 Hofstra University % by Prof. Roche C. de Guzman clear; clc; close('all'); %% Given Q =...

9 years ago | 1

Submitted


Golden-Section Search Numerical Method
Function for finding the x optimum to make f(x) extreme, using the golden-section search method

9 years ago | 1 download |

0.0 / 5

Submitted


Fixed-Point Iteration Numerical Method
Function for finding the x root of f(x) to make f(x) = 0, using the fixedpoint iteration open method

9 years ago | 1 download |

0.0 / 5

Submitted


False Position (Linear Interpolation) Numerical Method
Function for finding the x root of f(x) to make f(x) = 0, using the false position bracketing method

9 years ago | 1 download |

4.0 / 5

Submitted


Newton-Raphson Numerical Method
Function for finding the x root of f(x) to make f(x) = 0, using the Newton-Raphson open method

9 years ago | 1 download |

0.0 / 5

Submitted


Live Script application of the bisection function
Computes a problem using the bisection function for finding the root.

9 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


Bisection Numerical Method
Function for finding the root: x, where f(x) = 0, using the bisection bracketing method

9 years ago | 1 download |

0.0 / 5
Thumbnail

Solved


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

9 years ago

Solved


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

9 years ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

9 years ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

9 years ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

9 years ago

Submitted


FallingBallEnergies
EP, EK, and ET of a falling ball with specified m and h.

9 years ago | 4 downloads |

0.0 / 5
Thumbnail

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

9 years ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

9 years ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

9 years ago

Solved


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

9 years ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

9 years ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

9 years ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

9 years ago

Solved


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

9 years ago

Solved


Find best domino orientation
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...

9 years ago

Solved


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

9 years ago

Solved


Rotate and display numbered tile
Imagine a square tile with four numbers on it, one on each edge. We will call these edges north, east, south, and west. If th...

9 years ago

Solved


Find best placement for ordered dominoes (harder)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

9 years ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

9 years ago

Solved


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

9 years ago

Solved


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

9 years ago

Load more