Community Profile

Contact

Top 5% contributor

load spy colormap(hot)

1

Answered 4 years ago

Hi, So I ran my code and in one of the lines it said I had no memory left. The actions on the line consisted of multiplying t...

5 Answers

0

Asked 4 years ago

Hi everyone, Forgive me, I am no expert at MATLAB. I would appreciate it greatly if someone could explain to me the method of...

3 Answers

Hey everyone, So I have a large amount of data stored in a matrix that displays the surface of an object when plotted. The on...

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

2 Answers

Asked 1 year ago

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

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

Asked 3 years ago

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

1 Answers

Asked 2 years ago

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

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

Hi all, I have been working on a program that plots a 3-D image using coordinates specified in a text file. I need to know ho...

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

Solve this!

1 year ago

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

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

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

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Regardless of input, output the string 'yes'.

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

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

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

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

2 years ago

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

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Hi everyone, I am working on constructing a linked list, that connects edges in two directions and traverses through all poin...

0 Answers

With the help of kjetil87, I was able to write the appropriate code for this situation. It is shown here: [~,idx] = sort(P(:...

Answered 1 year ago

Generally if your variables are dependent on multiple other variables, it takes a longer time to reach the solution, as MATLAB m...

Answered 2 years ago

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

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

Answered 3 years ago

Load more