질문


What are the MATLAB job options?
Hi, It seems to me that most of the companies that hire programmers are looking for C++, Python, Java, etc. skills but very r...

대략 13년 전 | 답변 수: 7 | 8

7

답변

질문


white grid on black axes?
Hi, How can I put a white grid on black axes in a figure? If I try figure set(gca, 'Color', 'k') grid on then t...

대략 13년 전 | 답변 수: 1 | 0

1

답변

질문


How to open a BAM file?
Hi, I have a problem opening a BAM file (the one from here: http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM754388 the li...

대략 13년 전 | 답변 수: 1 | 0

1

답변

답변 있음
input dialog box options
I found another option to modify the width of the dialog. One can use a matrix for the "numlines" parameter (as described in the...

대략 13년 전 | 0

질문


input dialog box options
Hi, I tried one of the examples from the |inputdlg| documentation http://www.mathworks.com/help/matlab/ref/inputdlg.html bu...

대략 13년 전 | 답변 수: 2 | 0

2

답변

답변 있음
How do I make MATLAB print my figure in vector format?
try this: print(figureHandle, '-depsc2', '-painters', filename); If the figure is too complex maybe you want to use |exp...

대략 13년 전 | 2

질문


Parameter uncertainties after a GA optimization
Hi everyone, I do a genetic algorithm optimization in a mixed integer problem (e.g. 2 parameters are integers and 5 are reals...

대략 13년 전 | 답변 수: 1 | 0

1

답변

질문


Matlab not responding after saving eps figure?
Hi, I have the latest Matlab version 2012b but I have a problem when I try to save multiple eps figures. Sometimes after the fir...

13년 초과 전 | 답변 수: 2 | 2

2

답변

문제를 풀었습니다


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

13년 초과 전

문제를 풀었습니다


Lose control
Remove all characters that are below space in ASCII value.

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

13년 초과 전

문제를 풀었습니다


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

13년 초과 전

문제를 풀었습니다


Back to basics 20 - singleton dimensions
Covering some basic topics I haven't seen elsewhere on Cody. Remove the singleton dimensions from the input variable (e.g. if...

13년 초과 전

문제를 풀었습니다


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

13년 초과 전

문제를 풀었습니다


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

13년 초과 전

문제를 풀었습니다


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

13년 초과 전

문제를 풀었습니다


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

13년 초과 전

답변 있음
extract the same coloumn from multiple mtrix
To extract column 70 from matrix M you do C = M(:,70); To add this column to another matrix (M2) you do M2 = [M2, C...

13년 초과 전 | 0

답변 있음
User interface on R2012b
You're stuck :)

13년 초과 전 | 0

답변 있음
How to read/write files inside a loop?
Use sprintf('Sec%d.dat', i) instead of 'Sec(i).dat'. So something like this Amat = dlmread (sprintf('Sec%d.dat', i)...

13년 초과 전 | 1

답변 있음
How to write a "text" object inside axes??
It seems you didn't specify the position vector... a = text('Parent', h(13), 'Position', [???], 'String', 'Test')

13년 초과 전 | 0

문제를 풀었습니다


Back to basics 2 - Function Path
Covering some basic topics I haven't seen elsewhere on Cody. Given a string that is the name of a MATLAB function, return a s...

13년 초과 전

문제를 풀었습니다


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

13년 초과 전

문제를 풀었습니다


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

13년 초과 전

문제를 풀었습니다


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

13년 초과 전

문제를 풀었습니다


pressure to dB?
given x ratio of pressure, find corresponding y dB

13년 초과 전

문제를 풀었습니다


Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...

13년 초과 전

문제를 풀었습니다


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

13년 초과 전

문제를 풀었습니다


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

13년 초과 전

더 보기