統計
All
Feeds
質問
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)...
約11年 前 | 3 件の回答 | 0
3
回答解決済み
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...
約11年 前
質問
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...
約11年 前 | 0 件の回答 | 1
0
回答解決済み
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...
11年以上 前
回答済み
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(:...
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(:...
11年以上 前 | 0
質問
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...
11年以上 前 | 2 件の回答 | 0
2
回答解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
11年以上 前
解決済み
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...
11年以上 前
解決済み
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 ...
11年以上 前
解決済み
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...
11年以上 前
解決済み
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 ...
11年以上 前
解決済み
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...
11年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
11年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
回答済み
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...
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年以上 前 | 0
質問
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年以上 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
約12年 前 | 0
質問
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 ...
約12年 前 | 3 件の回答 | 0
3
回答回答済み
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...
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...
約13年 前 | 0
質問
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...
約13年 前 | 4 件の回答 | 0
4
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答回答済み
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.
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
質問
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年以上 前 | 3 件の回答 | 0
3
回答回答済み
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 ...
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年以上 前 | 0