photo

Ian Wood


UOIT

Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Risolto


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

circa 11 anni fa

Domanda


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

circa 11 anni fa | 0 risposte | 1

0

risposte

Risolto


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

circa 11 anni fa

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

circa 11 anni fa | 0

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

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

oltre 11 anni fa | 0

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

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

quasi 12 anni fa | 0

Domanda


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

quasi 12 anni fa | 3 risposte | 0

3

risposte

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

quasi 13 anni fa | 0

Domanda


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

quasi 13 anni fa | 4 risposte | 0

4

risposte

Domanda


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

circa 13 anni fa | 1 risposta | 0

1

risposta

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 3 risposte | 0

3

risposte

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

oltre 13 anni fa | 0

Carica altro