解決済み


Guess the Coefficients!
Given a polynomial p known to have positive integer coefficients, deduce the values of the coefficients. For example: p = ...

9ヶ月 前

解決済み


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

9ヶ月 前

解決済み


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

9ヶ月 前

解決済み


Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1

9ヶ月 前

解決済み


Find cross product of 2 vectors
Find cross product of 2 vectors

9ヶ月 前

解決済み


Find duplicate number from a vector of size n + 1 containing numbers from 1:n
From a given vector of size n + 1, return the duplicate number. Constraints The vector can only contain numbers from 1 to ...

9ヶ月 前

解決済み


Multiply by 5
Given an input x (scalar), multiply it by 5.

9ヶ月 前

解決済み


Compute the dilation of a binary image
A basic operation in image analysis is the dilation. Given an image where each pixel is either on or off (black/white, true/fals...

9ヶ月 前

解決済み


Esoteric Trigonometry
From Wikipedia: "All of the trigonometric functions of an angle θ can be constructed geometrically in terms of a unit circle cen...

9ヶ月 前

解決済み


LASER Tracker - Mirror Distance and Angle
Determine the mirror's distance and relative angle to the LASER Tracker given the distances to a reference SMR (Spherical Mounte...

9ヶ月 前

解決済み


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

9ヶ月 前

解決済み


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

9ヶ月 前

解決済み


Easy Function
Use this function to earn some points (hit submit): function y = your_fcn_name(x) y = x^2 + 10; end

9ヶ月 前

解決済み


"Power matrix" of two vectors
Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

9ヶ月 前

解決済み


Function(1)
Use this function for some points (free) function y = your_fcn_name(x) y = x^2 + 2; end

9ヶ月 前

解決済み


Summing Rows and Columns
Create a matrix y of size (n+1) whose last column's elements are the summation of the elements of all the other columns and last...

9ヶ月 前

解決済み


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

9ヶ月 前

解決済み


Sum of two number using (regexp, varargin) comand?
Sum two number a &b and get there result in c using the rexp and varargin comand.

9ヶ月 前

解決済み


Function(4)
Hit submit for some points! function y = your_fcn_name(x) y = x^2 - 4; end

9ヶ月 前

解決済み


Function(2)
Use this function to earn a few points. function y = your_fcn_name(x) y = x^2 - 8; end

9ヶ月 前

解決済み


Utilizing Functions
Use this function to work for some points: function y = fcn_of_your_choice(x) y = x^2 + 2; end

9ヶ月 前

解決済み


Utilize this function
Press submit for some points function y = your_fcn_name(x) y = x^2 - 2; end

9ヶ月 前

解決済み


Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
Calculate the sum of a Vector times coefficients expressed as two strings. Example: Normal representation [ a b c ], [ p1 ...

9ヶ月 前

解決済み


Use this function for some points
Hit submit if you'd like to earn some points! function y = your_fcn_name(x) y = x^2 - 3; end

9ヶ月 前

解決済み


Leonardo primes
Leonardo numbers are defined by following recurrence relation: Leonard prime is Leonardo number which is also prime (see ...

9ヶ月 前

解決済み


is the number happy?
test is a given integer number is Happy of not? answer 1 if yes or 0 is no

9ヶ月 前

解決済み


Usage of varargout
This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

9ヶ月 前

解決済み


Find supported functions
Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

9ヶ月 前

解決済み


Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

9ヶ月 前

解決済み


Number Puzzle - 118

9ヶ月 前

さらに読み込む