Community Profile # Jack

### Nottingham University

Active since 2014

#### Statistics

All
• • #### Content Feed

View by

Question

How to form an aggregate from a random walk?
I am making a random walk function that starts at a given boundary point and runs the a walk until the 'particle' attaches to a ...

4 years ago | 0 answers | 0

### 0

Question

How to produce a DLA Cluster Image
I am using Matlab to run a simulation that can produce a DLA/cluster/aggregate image ( <https://en.wikipedia.org/wiki/File:Of7_p...

4 years ago | 0 answers | 0

### 0

Question

Viewing a MIP from a desired angle
How would one go about calculating a MIP on a stack of images so that a user will be able to rotate the volume and see the MIP f...

8 years ago | 0 answers | 2

### 0

Question

How to view an image from the side?
I have an image which is 2D although is made up of slices. At the minute i am viewing the image from above as if looking down on...

8 years ago | 2 answers | 0

### 2

Question

How do i make a 'pushbutton' plot a point?
%code hbottom_left = uicontrol('Style','pushbutton',... 'String','Bottom Left','Position',[270,220,70,...

8 years ago | 1 answer | 0

### 1

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

8 years ago

Solved

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

8 years ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

8 years ago

Solved

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

8 years ago

Solved

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

8 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

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

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

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

8 years ago

Question

Rotating a 3D image?
What code could I use in order to be able to rotate a 3d image of a brain? Im using Matlab 2007 version, thanks in advance

8 years ago | 2 answers | 0

### 2

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

8 years ago

Question

Can someone give me a quick project to write?
I am eager to improve using Matlab so im trying to complete a couple of quick projects. Has anyone got any ideas for an (easy) p...

8 years ago | 2 answers | 0

### 2

Question

What's wrong with this code?
Every time I run this code an error message appears saying '??? undefined function or method 'img' for input arguments of type '...

8 years ago | 1 answer | 0

### 1

Question

How to decode an image?
So I have an img. file and it wont open in any applications (understandably) so I've been told to view the image in matlab as th...

8 years ago | 1 answer | 0