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

14 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

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

14 years ago | 0

Answered
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 years ago | 0

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

14 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Solved


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

14 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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

14 years ago

Solved


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 years ago

Answered
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 years ago | 0

Answered
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 years ago | 0

Load more