문제를 풀었습니다


Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable

대략 14년 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

대략 14년 전

제출됨


Adjust PDF page
MATLAB writes figures to PDF files as a full page. This function corrects that.

대략 14년 전 | 다운로드 수: 3 |

5.0 / 5

문제를 풀었습니다


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

대략 14년 전

문제를 풀었습니다


Eight Queens Solution Checker
Write a function to verify whether an arrangement of queens on a chessboard is a valid solution to the classic <http://en.wikipe...

대략 14년 전

문제를 풀었습니다


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

대략 14년 전

문제를 풀었습니다


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

대략 14년 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

대략 14년 전

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

대략 14년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

대략 14년 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

대략 14년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

대략 14년 전

답변 있음
[DISCONTINUED] Wish-list for MATLAB Answer sections.
I want to be able to down-vote questions and answers. I understand the current "positive reinforcement" philosophy, but sometime...

대략 15년 전 | 2

답변 있음
Why do I get the same numbers in "randn" function?
All you need to do is read the documentation for the function |randn|: <http://www.mathworks.com/help/techdoc/ref/randn.html> ...

대략 15년 전 | 0

답변 있음
How to display images with log axes?
This is quite interesting, as it shows how MATLAB operates internally. When you do image('CData', X, 'XData', [0.1 100])...

대략 15년 전 | 2

제출됨


Kernel decomposition
This function does the decomposition of a separable nD kernel into its 1D components.

15년 초과 전 | 다운로드 수: 1 |

5.0 / 5

제출됨


prettyplot
Prettier line plots with markers.

거의 16년 전 | 다운로드 수: 1 |

5.0 / 5
Thumbnail

제출됨


Snakes with class
Implementation of snakes using a class to enable automatic display of the snake over an image.

대략 16년 전 | 다운로드 수: 1 |

5.0 / 5
Thumbnail