문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

대략 12년 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

대략 12년 전

문제를 풀었습니다


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

대략 12년 전

문제를 풀었습니다


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

대략 12년 전

문제를 풀었습니다


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

대략 12년 전

문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

대략 12년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

대략 12년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 12년 전

문제를 풀었습니다


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

대략 12년 전

문제를 풀었습니다


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

대략 12년 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

대략 12년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

대략 12년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 12년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 12년 전

문제를 풀었습니다


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

대략 12년 전

답변 있음
Introducing a border/outline to objects in an image.
Irgb = imread('ap78s9.jpg'); Igray = rgb2gray(Irgb); Ibw = im2bw(Igray,graythresh(Igray)); Ifill = imfill(Ibw,'holes'...

대략 12년 전 | 1

| 수락됨

답변 있음
how to insert elements in listbox?
*In openingfcn* function untitled_OpeningFcn(hObject, eventdata, handles, varargin) handles.output = hObject; handles...

대략 12년 전 | 4

답변 있음
How to get the barcode region to red color??
Hi, Kim I agree with you. To determine the barcode just use boundingbox from regionprops :) Irgb = imread('15wmqe9.jpg')...

대략 12년 전 | 0

답변 있음
Textscanning and exporting several text files
Hi, Liisa Look at line data = textscan(fid, '%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f'); Did you mean data = textscan...

대략 12년 전 | 0

| 수락됨

답변 있음
how to insert elements in listbox?
Hi, Usama. Maybe you are seeking for something like this? <<http://i1196.photobucket.com/albums/aa410/nasa078/Mathworks/GU...

대략 12년 전 | 4

| 수락됨

답변 있음
How to save a variable which changes runtime in Matlab?
Did you mean : clear; for i = 1 : 3 s(i) = i; if i == 1 save indice.mat s; else ...

대략 12년 전 | 0

| 수락됨

답변 있음
How to get the barcode region to red color??
When use the first image (vertical barcode image), I just simply try to change the position of *abs(dIx)* and *abs(dIy)* int...

대략 12년 전 | 1

| 수락됨

답변 있음
Pattern Recognition with Perceptron
Hi, Benard A perceptron can be created with the *newp* function. Eq: net = newp(PR,S,TF,LF); - PR is m x 2 matrix of [...

대략 12년 전 | 0

| 수락됨

더 보기