문제를 풀었습니다


Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...

12년 초과 전

문제를 풀었습니다


Justify the character string in center with proportional fonts
how to justify a string of character into center with proportional fonts? Example: x='justify string ' output is ' justif...

12년 초과 전

답변 있음
How to count the number of coins in a image using erosion operator?
You might find Image Analyst's blobs demo to be helpful: http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segment...

12년 초과 전 | 1

답변 있음
How to convert a 1D vector in number?
>> barcode = [8 9 0 2 0 8 0 0 1 1 4 4 5]; >> n = polyval(barcode,10) n = 8902080011445 Or, without polyval: ...

12년 초과 전 | 1

| 수락됨

문제를 풀었습니다


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

거의 13년 전

문제를 풀었습니다


Poker Series 02: isQuads
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

거의 13년 전

문제를 풀었습니다


Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...

거의 13년 전

문제를 풀었습니다


Trickier Timing
You solution should return control to main program only when the current time ends in either a 5 or 0 (e.g. the current seconds ...

거의 13년 전

문제를 풀었습니다


Poker Series 01: isStraightFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

거의 13년 전

문제를 풀었습니다


Adding and Subtracting UINT variables
Given UINT class variables output the correct solution to A-B+C. *Input:* A,B,C Three uint variables *Output:* solution ...

거의 13년 전

문제를 풀었습니다


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

거의 13년 전

문제를 풀었습니다


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

거의 13년 전

문제를 풀었습니다


Find Rotated Substring
Given a string s1, find if a rotated version of s1 is present in a second string s2. For example, rotated version of some str...

거의 13년 전

문제를 풀었습니다


Make an N-dimensional Multiplication Table
*INSTRUCTIONS* This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...

거의 13년 전

문제를 풀었습니다


Mersenne Primes
A Mersenne prime is a prime number of the form M = 2^p - 1, where p is another prime number. For example, 31 is a Mersenne prim...

거의 13년 전

답변 있음
Displaying Files using a Listbox in a GUIDE GUI.
Where exactly are you running into trouble? Posting your relevant code so far might help. As for displaying the files in the lis...

거의 13년 전 | 0

| 수락됨

문제를 풀었습니다


Monty Hall
The classic Monty Hall "Let's Make a Deal" final showcase puzzle pits the contestant against three Doors. Behind one Door are dr...

거의 13년 전

문제를 풀었습니다


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

거의 13년 전

문제를 풀었습니다


Create One Large Eye of size N x N Quickly?
*<http://en.wikipedia.org/wiki/Aye_(yes) Aye !!!>*

거의 13년 전

답변 있음
indexing cell array of arrays
cellfun(@(x)x(1:K),C,'uni',0) %Where C is your original cell array

거의 13년 전 | 0

| 수락됨

답변 있음
How to load MAt file into 3D matrix
The answer can be found in the documentation of the *load* function: _S = load(FILENAME) loads the variables from a MAT-file ...

거의 13년 전 | 0

| 수락됨

문제를 풀었습니다


Figurate number triangle
Check whether the input matrix is a figurate number triangle: <http://mathworld.wolfram.com/FigurateNumberTriangle.html>

거의 13년 전

답변 있음
how can i simplify this for loop?
Here's how you can get rid of the nested loops: a = []; for i = 1:2 x(1:5) = i; y(1:5) = (1:5) + 1; t = ...

거의 13년 전 | 0

답변 있음
How do I preallocate this loop?
Here is the loop with preallocation: z = zeros(5,1) % preallocation for i = 1:1:5 z(i) = x(zipfind - 1 + i); ...

거의 13년 전 | 1

| 수락됨

문제를 풀었습니다


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

거의 13년 전

답변 있음
Read data from string
>> x='abc123(xyz456)'; >> regexp(x,'(?<=\().+(?=\))','match') ans = 'xyz456' This command uses <http://www.ma...

거의 13년 전 | 1

| 수락됨

문제를 풀었습니다


Segmentation violation error when I run a mex file
I need to call a Fortran file when I run matlab. The fortran file was provided by roms.org. I can use mex to generate .mexa64 us...

거의 13년 전

답변 있음
How can I display the mirror image of text in a textbox?
Have you tried downloading and installing one of the "backwards" fonts available on many font sites and setting the 'FontName' p...

거의 13년 전 | 1

| 수락됨

답변 있음
Problem including tolerance and finding value of a certain term
If you're checking for a certain tolerance, you can, after each iteration, see if the value of your most recently calculated ter...

거의 13년 전 | 0

| 수락됨

답변 있음
Code formatting in the forum
Is there any way to have two levels of permissions for editing another user's question? At the moment, assuming there are no use...

거의 13년 전 | 1

더 보기