해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

inner product of two vectors
inner product of two vectors

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

해결됨

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

7년 이상 전

답변 있음
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'...

7년 이상 전 | 1

| 수락됨

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

7년 이상 전 | 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')...

7년 이상 전 | 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...

7년 이상 전 | 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...

7년 이상 전 | 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 ...

7년 이상 전 | 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...

7년 이상 전 | 1

| 수락됨