Community Profile wil

Last seen: 7ヶ月 前 2015 以来アクティブ

Research Associate in Department of Computer Science, University of Sheffield

Statistics

All
• • • • • • • • • • バッジを表示

Content Feed

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

5年弱 前 | ダウンロード 1 件 | Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

5年弱 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

6年以上 前

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

7年弱 前 | 0

| 採用済み

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

7年弱 前 | 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) ...

7年弱 前 | 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...

7年弱 前 | 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...

7年弱 前 | 0

icosphere
Generate unit geodesic sphere created by subdividing a regular icosahedron

7年弱 前 | ダウンロード 16 件 | How I can write the names of file in note bad without extension?
Use can use fprintf and fileparts functions for each line of your output: fid = fopen('target.txt','a+'); for i = 1:leng...

7年弱 前 | 0

| 採用済み