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...
回答済み 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.