Community Profile

# wil

Last seen: 3 mois ago Active since 2015

Research Associate in Department of Computer Science, University of Sheffield

All

#### Content Feed

View by

Submitted

wilocw/surf_map
Live script and demo for visualising 3-column CSV as surface

Solved

Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus de 4 ans ago

Solved

Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus de 4 ans ago

Solved

Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

plus de 4 ans ago

Solved

Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

plus de 4 ans ago

Solved

Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

plus de 4 ans ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

plus de 4 ans ago

Solved

Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

plus de 4 ans ago

Solved

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

plus de 4 ans ago

Solved

Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

plus de 4 ans ago

Solved

Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

plus de 4 ans ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

plus de 4 ans ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

plus de 4 ans ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

plus de 4 ans ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 4 ans 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 ...

plus de 4 ans 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...

plus de 4 ans ago

Solved

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

environ 6 ans ago

Solved

Output a vector which is table of 9
Output a vector which is table of 9

environ 6 ans 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:...

environ 6 ans ago

Solved

Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands

environ 6 ans ago

clustering based on area
Hi, I've looked at the code and I've worked out what you need. Before your final loop "% Loop over all blobs printing their me...

plus de 6 ans ago | 0

| accepted

Help : Interpolation missing data
You also overwrite nanx in the line nanx(:,1) = CS(:,1); nanx = isnan(CS(:,2)); Should this be: nanu = isnan(CS(:...

plus de 6 ans ago | 0

Function changes its behavior at each iteration of a for loop
We'll call your input parameter list 'param', you can do something like the following: for k= 1:4 switch param(k) ...

plus de 6 ans ago | 0

clustering based on area
Hi, k-means is probably the simplest method of clustering, but if you simply want to sort the regions based on their area, yo...

plus de 6 ans ago | 0

How to find data from different matrix accordance to a treaty
You can use find() on the first column to get the row indexes of the rows you want to plot. Say your matrices are A and B, th...

plus de 6 ans ago | 0

Submitted

icosphere
Generate unit geodesic sphere created by subdividing a regular icosahedron