Community Profile

# ChrisR

##### Last seen: Today
2,597 2015 이후 총 참여 횟수

Faculty member in civil & environmental engineering

#### ChrisR's 배지

모두 보기

참여 게시물
보기 기준

해결됨

Toolbox check part 3
In my ongoing quest to highlight obscure parts of MATLAB, the latest challenge is to take 2 string inputs, one a MATLAB toolbox ...

1일 전

해결됨

Spot the rectangle (Part 2)
This problem is related to the <http://bit-player.org/2009/the-17x17-challenge 17x17 challenge>. See also <http://www.mathworks....

3일 전

해결됨

Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

3일 전

해결됨

THE CALCULATOR OF LOVE
In honor of Valentine's Day, program a love calculator that figures out the percentage of compatibility between two people using...

3일 전

해결됨

Find all the zeros of sinus , cosinus and tangent in a given interval
The aim is to find all the zeros of a function within an interval. *Input* : * fcn : an anonymous function (@sin, @cos......

3일 전

해결됨

Mandelbrot Number Test [Real+Imaginary]
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

4일 전

해결됨

Construct finite difference approximations of derivatives
In solving a differential equation with a finite-difference method, one computes derivatives with various combinations of the fu...

4일 전

해결됨

solve for y that is half as much as three less than one tenth of x
function y = half(x) y = (x * .1); end

5일 전

해결됨

Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

5일 전

해결됨

Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

5일 전

해결됨

Explode string
Break a sentence into cell of words

5일 전

해결됨

Write a function that will add leading-zero padding to all numbers in the supplied vector, as necessary, based on the maximum nu...

5일 전

해결됨

Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

5일 전

해결됨

Second Diagonal
Transpose the matrix from it's second diagonal.

5일 전

해결됨

Numbers on 7-segment
This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...

5일 전

해결됨

My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

5일 전

해결됨

Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

5일 전

해결됨

Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

5일 전

해결됨

Logarithm with base other than 'e'
The standard log() function in Matlab returns the natural logarithm (base equal to Euler's constant). Compute the logarithm for ...

5일 전

해결됨

Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

5일 전

해결됨

Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

5일 전

해결됨

Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

5일 전

해결됨

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

5일 전

해결됨

Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

5일 전

해결됨

What are the odds?
Two numbers, A and B are drawn randomly and uniformly on [-R,R]. What is the probability that A*B < A+B. Your function should ...

6일 전

해결됨

Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...

6일 전

해결됨

Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

6일 전

문제

Identify eban numbers

6일 전 | 0 | 솔버 수: 3

해결됨

Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...

7일 전

해결됨

Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

8일 전