답변 있음
gui
Well, at the matlab command-line prompt type: helpwin uicontrol ...from there browse through the help and documentation ...

14년 초과 전 | 0

답변 있음
Button for choose language-guide
H2pushbutton = ... from somewhere where you create the pushbutton you get and keep the handle. % To set the picture: set...

14년 초과 전 | 1

| 수락됨

답변 있음
Reading the New Added Files in Folder
If you use matlab's dir command to list files you could keep the creation date-time of the most recent file you've read - and th...

14년 초과 전 | 0

| 수락됨

답변 있음
An orthogonal matrix from two orthognal matrices!
It doesn't necessarily work that way that the matrix (with vectors) spanning the same space as the columns of your matrix C is s...

14년 초과 전 | 0

답변 있음
image
Simplest and quickest start you get by typing: demo at the matlab prompt, then browse your way to the image processing t...

14년 초과 전 | 0

답변 있음
How to plot wind rose according to u and v components
Well you could start by typing something like: lookfor rose at the matlab prompt. Or you could type: helpwin and...

14년 초과 전 | 0

답변 있음
solarize
Read for example this: http://unblinkingeye.com/Articles/Solarization/solarization.html Then it should just be to generate the ...

14년 초과 전 | 0

답변 있음
how to plot the Xticklabel on the top of the axes?
set(gca,'xaxisLocation','top') To investigate the openly available options for axes and figures and whatnot, simply do: ...

14년 초과 전 | 0

| 수락됨

답변 있음
Sum the solution of solve function
I can't get Walter's solution to work in my version of matlab (7.8.0.347 (R2009a)). There S is a sym object, and then this works...

14년 초과 전 | 0

답변 있음
mean seasonal data
QD: idxDJF = sort([[1:12:123],[2:12:123],[3:12:123]]); Wacc = cumsum(unnamed(idxDJF,:,:)); Wavg = Wacc(3:3:end,:,:)...

14년 초과 전 | 0

| 수락됨

답변 있음
How to estimate the PSF from an blurred image?
If you have some object that you "know should be a point", like for example a star, you could use the region around that as a st...

14년 초과 전 | 0

답변 있음
Comparing matrices with different length.
You could fill it in with interpolation of some sort, see: interp1. Or you could use inpainting, see google - if you dont find s...

14년 초과 전 | 0

답변 있음
if we want to plot more graphs in one figure itself, how to differentiate them with less colors available?
By varying linestyles you get a good number of extra combinations. The ones available without extras are: '-', '--', '-....

14년 초과 전 | 0

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

14년 초과 전

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

14년 초과 전

문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Infernal Recursion
Consider the recursion relation: x_n = (x_(n-1)*x_(n-2))^k Given x_1, x_2, and k, x_n can be found by this definition. Wr...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

14년 초과 전

문제를 풀었습니다


polar inertia
given locations of a set of unit masses on complex plane, find polar moment of inerta about the origin. for example output 4 if ...

14년 초과 전

문제를 풀었습니다


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

14년 초과 전

문제를 풀었습니다


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

14년 초과 전

답변 있음
How can I index non-integer values
Since PR is an array it has n values at indices from 1 to n. If you want to get values at other "indices" you can turn to interp...

14년 초과 전 | 0

답변 있음
Plot Eigen Vectors
Look on the file exchange for arrow plotting functions, there are at least 2 very good submissions. Those will be the "natural" ...

14년 초과 전 | 0

더 보기