Community Profile

photo

Ian Wood


UOIT

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • 3 Month Streak
  • Thankful Level 3
  • First Answer
  • Solver

View badges

Feeds

View by

Question


Find all largest empty circles in a list of points
Hi everyone, I want to find all of the largest empty circles, which pass through any 3 points in a large list of points (~50)...

10 years ago | 3 answers | 0

3

answers

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

10 years ago

Question


Constructing a Doubly-Linked Edge List
Hi everyone, I am working on constructing a linked list, that connects edges in two directions and traverses through all poin...

10 years ago | 0 answers | 1

0

answers

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

10 years ago

Answered
Sorting a vector with another vector of multiple maximums
With the help of kjetil87, I was able to write the appropriate code for this situation. It is shown here: [~,idx] = sort(P(:...

10 years ago | 0

Question


Sorting a vector with another vector of multiple maximums
Hi, I have a function that I want to compute a queue "Qevents", which gets information from a set of points "P" (columns x an...

10 years ago | 2 answers | 0

2

answers

Solved


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

10 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

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

10 years ago

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

10 years ago

Solved


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

10 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

10 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

10 years ago

Solved


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

10 years ago

Solved


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

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

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

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

11 years ago

Answered
How to make the sovler faster?
Generally if your variables are dependent on multiple other variables, it takes a longer time to reach the solution, as MATLAB m...

11 years ago | 0

Question


Traversing Through a Vector of Different-sized Cells
Hi, Let me first explain the code I want to execute. I have a matrix "V" of size (m x 2), where the first column is x values ...

11 years ago | 1 answer | 0

1

answer

Answered
Solve a system of symbolic variables
OK, so working through this I came up with another code, and I provided some comments to explain what I did. The code changed qu...

11 years ago | 0

Question


Solve a system of symbolic variables
Hi, I have been trying hard at this for a while now. Does anybody know if there is some way to solve symbolic variables in a ...

11 years ago | 3 answers | 0

3

answers

Answered
Importing .xyz Data Files
I'm getting the data to output in the proper data type now, with the proper number of rows, but for some reason the command read...

12 years ago | 0

Question


Importing .xyz Data Files
Hi, I am having trouble with importing an .xyz data file I got from a 3D laser scanner. MATLAB didn't support the ".xyz" file e...

12 years ago | 4 answers | 0

4

answers

Question


Optimization of a Fitted Circle
Hi, I'll try to explain this the best I can.. to start off, I am inexperienced with optimization techniques. I was asked to m...

13 years ago | 1 answer | 0

1

answer

Answered
Least Squares Fitting Method with a Circle
Is there a problem with my code? Like maybe I shouldn't use a polar plot in this case, or something that could be done better.

13 years ago | 0

Answered
Challenge - Change my avatar colors
load spy colormap(hot)

13 years ago | 1

Answered
how to read data into matlab
Provided your file is in the MATLAB path, you can use importdata data = importdata('file_name.txt') Once you read in all...

13 years ago | 0

Question


Least Squares Fitting Method with a Circle
Hi everyone, Forgive me, I am no expert at MATLAB. I would appreciate it greatly if someone could explain to me the method of...

13 years ago | 3 answers | 0

3

answers

Answered
How can I plot a string function
You can choose whatever values of x you want. Since you are dealing with a trigonometric function in your case, you may want to ...

13 years ago | 0

Load more