Community Profile

Contact

Top 1% contributor

6 downloads

6 years ago

Hi John, 0;0 I really like your way of solving this problem. I see that you use the null-function quite some times to takle ...

22890 views

Responded 8 years ago

Mikhail <razum@gmx.com> wrote in message <24449352.1203761787051.JavaMail.jakarta@nitrogen.mathforum. org>... and >how can I ch...

17951 views

one more shot: % the data m=reshape(1:7*4,[4,7]); t=[-1,-2;-3,-4] m(1:2,1:2)=t; m(2:3,3:4)=t %the engine sld = bsxfun(@plus,(0...

16340 views

Responded 7 years ago

Hello, I've a similar problem. According to the tips in this thread, I figured out my screen sizes. I do not want to setup ...

16285 views

Hello everyone, unfortunatly I had to leave my computer before the end of the contest, I just returned. So I was not involved ...

10914 views

Responded 9 years ago

Hi Bas, Take a look at isosurface, it might not be exactly what you where looking for, but it comes quite close and is ready t...

10786 views

Hi again, the munkres algorithm proposed by Steve Lord in this thread http://www.mathworks.com/matlabcentral/newsreader/view_th...

10393 views

Hi Will, are you still interested in this functionality? If so, I can show you a function which calculates the p in Rogers algo...

Hi, cause i liked this puzzle, I took some of the suggested ideas together and wrote this snippet. Maybe I should better put ...

8996 views

Hi Andy, Isosurface is a I think so, see Loren Shures reply in http://groups.google.de/group/comp.soft- sys.matlab/browse_thr...

8742 views

but up to by browsing day:). that problems. Is there a point cloud would be, that it because it has a Have a look at isosurface...

Hi William, if you put your functions as nested functions it works even in R14SP2: %% ^^^ add function end here %% ^^^ ...

7587 views

Hi, I've no idea why you insist on not using loops, but anyway here is a solution: t1x = hf(n2-n1+1,m1,0); t1y = hf(n2-n1+1,m...

4872 views

Matt J " <mattjacREMOVE@THISieee.spam> wrote in message Thank you Matt for your interest. If rectangle was one of my own funct...

3873 views

Hello, I was just wondering if it is possible to write a (anonymous) function returning a comma separated list: Example: I hav...

Posted 7 years ago

Hello, if I understood you correct the following should work: %% create sample points N=100; z = rand(N,1)*2-1; r = sqrt(1-z.^2...

3231 views

Given a function handle, return a handle to a function that would accept an arbitrary number of inputs, applies the function to ...

Solve this!

2 years ago

Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...

Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

3 years ago

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries