96 total contributions since 2013

Graduated from MSOE with a B.S. in Mechanical Engineering. Currently working on a PhD at MTU

Solved

Pentagonal Numbers

Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

oltre 2 anni ago

Solved

Octoberfest festival

A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

oltre 2 anni ago

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

oltre 2 anni ago

Solved

Circle/Pentagon Overlap

Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

oltre 2 anni ago

Solved

A Simple Tide Gauge with MATLAB

You are standing in a few inches of sea water on a beach. You are wondering whether the high tide is coming soon or it has ju...

oltre 2 anni ago

Solved

Find the nearest prime number

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

oltre 2 anni ago

Solved

Predicting life and death of a memory-less light bulb

You have a light bulb that can fail any moment according to the exponential probability distribution. At any moment, the pro...

oltre 2 anni ago

Solved

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

oltre 2 anni ago

Solved

Basic electricity in a dry situation

This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...

oltre 2 anni ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer whi...

oltre 2 anni 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...

oltre 2 anni ago

Solved

Energy of a photon

Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

oltre 2 anni ago

Submitted

Get Current Weather Conditions

This function provides weather information for a given city.

oltre 3 anni ago | 5 downloads |

Solved

Pizza value using expression with parentheses

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

oltre 3 anni ago

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

oltre 3 anni ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

oltre 3 anni ago

Answered

finding missing value using interpolation

The interp1 function does not allow for extrapolation. 2.01 is outside your domain for 0 to 1.92

finding missing value using interpolation

The interp1 function does not allow for extrapolation. 2.01 is outside your domain for 0 to 1.92

oltre 4 anni ago | 0

Answered

Iterative calculation of non-linear equations.

Have you tried writing your function as an anonymous function and using the fminsearch function to minimize the equation? y...

Iterative calculation of non-linear equations.

Have you tried writing your function as an anonymous function and using the fminsearch function to minimize the equation? y...

oltre 4 anni ago | 0

Answered

Find square root using Monte carlo?

This sounds like a homework assignment, so nobody here is going to answer it directly for you. This website might give you so...

Find square root using Monte carlo?

This sounds like a homework assignment, so nobody here is going to answer it directly for you. This website might give you so...

circa 5 anni ago | 0

Question

What do you have in your startup.m

What do you have in your startup.m file? Does anyone have a creative use (e.g. reminder of significant others birthday)?

circa 5 anni ago | 3 answers | 0

Answered

Plot circle in meters

Try something like this: figure(); AX(1) = axes; axis equal hold('on'); set(AX(1), 'XLim', [0 100], 'YLim', [0 ...

Plot circle in meters

Try something like this: figure(); AX(1) = axes; axis equal hold('on'); set(AX(1), 'XLim', [0 100], 'YLim', [0 ...

circa 5 anni ago | 0

Solved

Lightning strike distance: Writing a function

Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...

circa 5 anni ago

Answered

plot problem in GUI for 2014b

Is there any reason as to why you are manually defining grid lines (desired color or something)? Why don't you use the built in ...

plot problem in GUI for 2014b

Is there any reason as to why you are manually defining grid lines (desired color or something)? Why don't you use the built in ...

oltre 5 anni ago | 1

| accepted

Answered

any one help me to correcte eroor

The error states that the variable Ts_Power is not defined. If you are defining it, make sure that the spelling and capitalizati...

any one help me to correcte eroor

The error states that the variable Ts_Power is not defined. If you are defining it, make sure that the spelling and capitalizati...

oltre 5 anni ago | 0

Answered

Looking to animate two lines with the angle between them changing?

Are you wanting to animate this in real time or create a video file from the plot. You may be interested in looking at these...

Looking to animate two lines with the angle between them changing?

Are you wanting to animate this in real time or create a video file from the plot. You may be interested in looking at these...

oltre 5 anni ago | 0

Question

createExitMsg - Fsolve execution Time

There is a function being called by fsolve called "createExitMsg." I am not using the exit information for anything. Is there an...

oltre 5 anni ago | 2 answers | 1

Submitted

DetermineVArrival.m

Determine Arrival Velocity of a Orbiting Object

circa 6 anni ago | 1 download |

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

circa 6 anni 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...

circa 6 anni 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...

circa 6 anni ago