photo

Ian Wood


UOIT

Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

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

Afficher les badges

Feeds

Afficher par

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

environ 11 ans il y a | 3 réponses | 0

3

réponses

A résolu


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

environ 11 ans il y a

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

plus de 11 ans il y a | 1 réponse | 1

0

réponse

A résolu


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

plus de 11 ans il y a

Réponse apportée
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(:...

plus de 11 ans il y a | 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...

plus de 11 ans il y a | 2 réponses | 0

2

réponses

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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 11 ans il y a

Réponse apportée
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...

plus de 11 ans il y a | 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 ...

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 12 ans il y a | 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 ...

environ 12 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
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...

environ 13 ans il y a | 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...

environ 13 ans il y a | 4 réponses | 0

4

réponses

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

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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.

plus de 13 ans il y a | 0

Réponse apportée
Challenge - Change my avatar colors
load spy colormap(hot)

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Charger plus