Community Profile

photo

yeungor


Florida State University

Last seen: 거의 4년 전 2016년부터 활동

I'm a Senior undergraduate in Mechanical Engineering and Applied Mathematics. I am involved in research in computational fluids. My hobbies are rock climbing and making mostly dysfunctional mechatronic projects.

통계

All
  • Thankful Level 2
  • First Answer
  • Thankful Level 1
  • Commenter
  • Scavenger Finisher
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
How to use a for loop to solve ODE
There are two options: use a prebuilt ode integrator like ode45, or you can explicitly compute at each step. The latter sounds m...

5년 초과 전 | 0

답변 있음
Why does hist, histogram and how the shape of my data is affect how my results are displayed?
Well, you described two situations and two different functions and gave three plots, so I am somewhat confused. I would say t...

5년 초과 전 | 0

질문


Comparing randsample and binning uniform random
I can produce randomly polled (with replacement) values from vector x with probabilities in vector p using randsample with repla...

5년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to replicate an array diagonally for a given number of times?
Alternatively, if you're not against "eval", you can use it to type out those repetitions *n* times. a = rand(m,n); N = ...

5년 초과 전 | 0

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

거의 6년 전

문제를 풀었습니다


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


radius of a spherical planet
You just measured its surface area, that is the input.

거의 6년 전

문제를 풀었습니다


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


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

거의 6년 전

문제를 풀었습니다


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

거의 6년 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

거의 6년 전

문제를 풀었습니다


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

거의 6년 전

문제를 풀었습니다


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

거의 6년 전

문제를 풀었습니다


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

거의 6년 전

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

거의 6년 전

문제를 풀었습니다


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

거의 6년 전

답변 있음
I've specified axis limits manually, why do they resize during animation?
Figured it out how to solve the problem. But I don't know why it works, so that would be nice to get explained. If I use this, ...

6년 초과 전 | 0

질문


I've specified axis limits manually, why do they resize during animation?
I'm animating uploaded data from a GUI. The animation is a trail of data that adds new values as dark blue and old values trail ...

6년 초과 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

6년 초과 전

문제를 풀었습니다


Number of Even Elements in Fibonacci Sequence
Find how many even fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

6년 초과 전

문제를 풀었습니다


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


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

6년 초과 전

문제를 풀었습니다


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

6년 초과 전

문제를 풀었습니다


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

거의 7년 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

거의 7년 전

더 보기