Feeds
질문
can multiple versions of matlab be run from concurrent license?
My group is currently on maintenance from mathworks and have concurrent license. is it possible to run multiple versions of mat...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
Can a Dropdown box, and uitable be used in a webfigure with the Matlab Builder JA
I have a GUI built with GUIDE that has dropdown boxs, uitables, and 3 2D axes. Is it possible to put this into a webfigure to b...
11년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...
거의 12년 전
문제를 풀었습니다
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...
거의 12년 전
질문
splitting an array of numbers
I have an array of numbers, for example numbers = rand(1000,1); I have another array of numbers indicating the offsets for ...
대략 12년 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...
대략 12년 전
문제를 풀었습니다
Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
대략 12년 전
문제를 풀었습니다
First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];
대략 12년 전
문제를 풀었습니다
Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...
대략 12년 전
문제를 풀었습니다
Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...
대략 12년 전
문제를 풀었습니다
Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords
대략 12년 전
문제를 풀었습니다
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
대략 12년 전
문제를 풀었습니다
Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...
대략 12년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
대략 12년 전
문제를 풀었습니다
Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...
대략 12년 전
문제를 풀었습니다
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...
대략 12년 전
문제를 풀었습니다
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
대략 12년 전
답변 있음
Counting values above a threshold within a matrix.
sum(myMat>0, 2) the result is the number of values in each row > 0.
Counting values above a threshold within a matrix.
sum(myMat>0, 2) the result is the number of values in each row > 0.
대략 12년 전 | 0
| 수락됨
문제를 풀었습니다
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
대략 12년 전
문제를 풀었습니다
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
대략 12년 전
답변 있음
how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
Assuming the hex numbers are in a 1xN char (test in this example): Output will be Mx1 double array (ans in this example) t...
how to write a matlab code to convert hexformat into decimal format of a colour image.The image resolution is 320X430.Please help me....
Assuming the hex numbers are in a 1xN char (test in this example): Output will be Mx1 double array (ans in this example) t...
대략 12년 전 | 0
| 수락됨
문제를 풀었습니다
Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...
12년 초과 전
문제를 풀었습니다
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
12년 초과 전
문제를 풀었습니다
Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...
12년 초과 전
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
12년 초과 전
문제를 풀었습니다
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".
12년 초과 전
문제를 풀었습니다
Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...
12년 초과 전
문제를 풀었습니다
Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...
12년 초과 전
문제를 풀었습니다
QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...
12년 초과 전
문제를 풀었습니다
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...
12년 초과 전