Community Profile

Contact

Top 1% contributor

23 downloads

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

17357 views

Responded 7 years ago

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

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

12654 views

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

9775 views

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

9270 views

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

9259 views

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

7905 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 Andy, Isosurface is a I think so, see Loren Shures reply in http://groups.google.de/group/comp.soft- sys.matlab/browse_thr...

7338 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, cause i liked this puzzle, I took some of the suggested ideas together and wrote this snippet. Maybe I should better put ...

6676 views

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

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

3845 views

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

2789 views

Responded 5 years ago

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

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

2653 views

Hello, I wanted to have a look at anymate.m from the FEX. As I'm using Matlab 7.0.4 SP2 and the description states that R14 S...

2562 views

Posted 7 years ago

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

Solve this!

11 months 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';

1 year ago

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

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

Load more